[darcs-users] More confusion

Adam Megacz adam at megacz.com
Fri May 7 09:30:25 UTC 2004


>> $ darcs inittree
>> $ touch foo
>> $ darcs add foo
>> $ darcs record -am foo
>> $ darcs rollback -m foo
>> $ ls
>> _darcs/ foo

>> Is this confusing to anybody else?

> After doing the rollback, the file foo no longer existed in the
> repository.

But why did it still exist in my local checkout?  The patch I rolled
back was the one that created the file, so the inverse patch (UNDO
foo) should remove the file.  Applying the inverse patch to the
working directory should have deleted foo.

I guess my confusion wasn't so much that record didn't see foo, but
that foo was still there.  It's like "half of" the UNDO patch got
applied.  Superconfusion.

  - a




More information about the darcs-users mailing list