On Mon, Jul 30, 2012 at 12:39 PM, David Bariod <[email protected]>wrote:

> I think this is what the revert command do.
> fossil revert -r <commit id> <file name>
>

As the Germans say, "again what learned!" i can't believe i never tried
that (it's how svn does it, IIRC).


> Maybe fossil can do this, but in my years with it i can't say i've tried,
>> and i don't see anything in the 'help' which looks like it might do this.
>>
>
> I don't know if the revert command works for a full directory.
>

Apparently not: it treats them as files as says:

[stephan@host:~/cvs/fossil/cwal]$ f stash save -m test
REVERTED: cwal.c
REVERTED: include/wh/cwal/cwal.h
[stephan@host:~/cvs/fossil/cwal]$ f revert -r c5d9755013 include
UNMANAGE: include

(man, i love having the stash!!!)

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to