This is an archive of the discontinued Mercurial Phabricator instance.

graft: drop --user and --date values info from hint in case of conflicts
ClosedPublic

Authored by pulkit on May 25 2018, 4:52 PM.

Details

Summary

After previous patch, we have started preserving user and date values in
graftstate and reusing them during hg graft --continue. Now passing --user and
--date again with --continue makes no sense. Let's drop them from the hint.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.May 25 2018, 4:52 PM
indygreg accepted this revision.May 25 2018, 5:10 PM
This revision is now accepted and ready to land.May 25 2018, 5:10 PM
This revision was automatically updated to reflect the committed changes.
martinvonz added inline comments.
mercurial/commands.py
67

test-check-pyflakes.t complains about this no longer being used. I'll remove it in flight.

yuja added a subscriber: yuja.May 26 2018, 1:18 AM

commands.py:67

dateutil,
procutil,
stringutil,

test-check-pyflakes.t complains about this no longer being used. I'll remove it in flight.

I've pushed the fixed version.

In D3660#57581, @yuja wrote:

commands.py:67

dateutil,
procutil,
stringutil,

test-check-pyflakes.t complains about this no longer being used. I'll remove it in flight.

I've pushed the fixed version.

Thanks!

In D3660#57581, @yuja wrote:

commands.py:67

dateutil,
procutil,
stringutil,

test-check-pyflakes.t complains about this no longer being used. I'll remove it in flight.

I've pushed the fixed version.

Thanks a lot Yuya. I will make sure I run test-check-pyflakes.t from now onwards.