Page MenuHomePhabricator

It should be also valid to have empty change under hg
ClosedPublic

Authored by sowedance on Apr 28 2014, 10:28 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Dec 13, 8:47 AM
Unknown Object (File)
Tue, Dec 10, 2:39 PM
Unknown Object (File)
Thu, Dec 5, 7:49 AM
Unknown Object (File)
Thu, Dec 5, 7:43 AM
Unknown Object (File)
Thu, Dec 5, 6:43 AM
Unknown Object (File)
Fri, Nov 29, 11:39 AM
Unknown Object (File)
Fri, Nov 29, 11:17 AM
Unknown Object (File)
Fri, Nov 29, 11:04 AM
Subscribers

Details

Summary

Like git, it is also valid to have empty net change under hg. Should not throw if that is the case.

Test Plan

Tried on a hg repo.

Diff Detail

Repository
rARC Arcanist
Branch
empty
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 121
Build 121: [Placeholder Plan] Wait for 30 Seconds

Event Timeline

sowedance retitled this revision from to It should be also valid to have empty change under hg.
sowedance updated this object.
sowedance edited the test plan for this revision. (Show Details)
epriestley edited edge metadata.

Flag seems unrelated? Other fix is fine.

src/workflow/ArcanistDiffWorkflow.php
397–401

Unrelated?

This revision now requires changes to proceed.Apr 29 2014, 11:49 AM
sowedance edited edge metadata.

Ah I actually want to make that change but did not mean to put it in this change.
Anyway since it's already there, I'll live with it. The reason we want that is that we try to use arc
in some automated tools and sometimes the generated code could exceed the limit.

I'll accept the hg change, but I think we should separate out the other flag. See also T4924. I'd like to understand the larger context.

sowedance edited edge metadata.

OK I am removing the other part. Testing comment editing

This revision is now accepted and ready to land.Apr 29 2014, 9:17 PM
epriestley updated this revision to Diff 21131.

Closed by commit rARCc4ec22b140db (authored by @sowedance, committed by @epriestley).