On 18 July 2015 at 21:19, Svyatoslav Mishyn <j...@openmailbox.org> wrote:
> Hello,
>
> from `fossil help revert`
> ...
> "Revert all files if no file name is provided."
>
> and here is my test:
>
> /home/juef/tmp/fossil/test: f time
> === 2015-07-18 ===
> 18:55:39 [b0d58a9f51] *CURRENT* c3 (user: juef tags: trunk)
> 18:55:16 [b2f66fde1a] c2 (user: juef tags: trunk)
> 18:54:52 [4deb08b494] c1 (user: juef tags: trunk)
> 18:54:09 [9c3ed79c65] initial empty check-in (user: juef tags: trunk)
> +++ no more data (4) +++
>
> /home/juef/tmp/fossil/test: ls
> 1  2
>
> /home/juef/tmp/fossil/test: f revert -r b2f66fde1a
> the --revision option does not work for the entire tree
>
> /home/juef/tmp/fossil/test: f revert -r b2f66fde1a 1
> REVERTED: 1
>  "fossil undo" is available to undo changes to the working checkout.
>
> (Fossil version: 82206af110)

This does not answer your question, but perhaps what you were looking
for (i.e. revert all files in the local check-out to a revision) is
'fossil update REVISION".

I don't know why 'fossil revert REVISION" (without files) doesn't do
anything - there's an explicit check for missing file(s)-argument(s),
so it is probably by design. I'm curious myself.

Michai
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to