This is an archive of the discontinued Mercurial Phabricator instance.

outgoing: merge the code handling --graph with the main one
ClosedPublic

Authored by marmoute on Apr 13 2021, 10:52 AM.

Details

Summary

The --graph code had its own copy of the logic. With the previous reorganisation
of the code, we can now merge it with the main code, reducing fragile
complication.

As a side effect, hg out --graph now use the right return code when they are
nothing outgoing. This explain the change to output in
tests/test-largefiles-misc.t.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

marmoute created this revision.Apr 13 2021, 10:52 AM
pulkit accepted this revision.Apr 14 2021, 7:43 PM
pulkit added a subscriber: pulkit.

Uh, didn't even know such a thing exists. I wanted it many times.

This revision is now accepted and ready to land.Apr 14 2021, 7:43 PM