Mercurial wipes repository history!?
Sune Foldager
cryo at cyanite.org
Fri Apr 9 02:02:15 CDT 2010
On 09-04-2010 04:00, Mark A. Flacy wrote:
> On Thu, 2010-04-08 at 21:30 +0200, Sune Foldager wrote:
>
>> On 08-04-2010 17:08, Mark A. Flacy wrote:
>>> "clone" is a transaction. The fact that a local clone cannot be rolled
>>> back is an error.
>>
>> The reason for that being that local clones just hard-links to the
>> source, so there are no transactions involved. I'd say it's not a bug.
>
>
> That requires the user to understand the internals of the tool to
> understand why there is different behavior. Not a good thing, IMO, but
> your mileage may vary.
Right, but maybe it would also be better if rollback were called
debugrollback.
But then again, the "zomg I just *have* to rollback this repo I just
cloned !!11one!" use-case is probably rare. There is always rm/rd.
/Sune
More information about the Mercurial
mailing list