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)
Tue, Nov 26, 10:39 PM
Unknown Object (File)
Tue, Nov 26, 10:39 PM
Unknown Object (File)
Sat, Nov 9, 5:33 PM
Unknown Object (File)
Thu, Oct 31, 6:01 PM
Unknown Object (File)
Oct 23 2024, 5:34 AM
Unknown Object (File)
Oct 22 2024, 12:04 PM
Unknown Object (File)
Oct 21 2024, 9:42 AM
Unknown Object (File)
Oct 18 2024, 12:38 PM
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 133
Build 133: [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 ↗(On Diff #21084)

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).