rollback deprecation

Kevin Bullock kbullock+mercurial at ringworld.org
Wed Jul 17 10:35:00 CDT 2013


On 17 Jul 2013, at 9:07 AM, Antoine Pitrou wrote:

> Martin Geisler <martin <at> geisler.net> writes:
> 
>> 
>> # HG changeset patch
>> # User Martin Geisler <martin <at> geisler.net>
>> # Date 1374050974 -7200
>> #      Wed Jul 17 10:49:34 2013 +0200
>> # Node ID 85d4ebb3d89e29657c4d7365174d9120ba88ad34
>> # Parent  ea4342d0e6fea19c8c4b7651f36929cd682afae7
>> rollback: add reference to "hg commit --amend"
>> 
>> Now that rollback is deprecated (yay!) users might need a pointer to
>> the alternative for 99% of the cases where I used rollback.
> 
> Rollback is deprecated? What is the recommended way to undo a bogus
> commit (especially a merge or graft)?
> AFAICT, "strip" isn't part of the core command set.

The same way we've always recommended: clone up to the parent of the bad revision (and any other heads), then throw away the old clone.

pacem in terris / мир / शान्ति / ‎‫سَلاَم‬ / 平和
Kevin R. Bullock



More information about the Mercurial-devel mailing list