>
> But in my experience, fossil revert is a rarely used command.
>

Both `fossil revert afile -r ver` and `fossil update ver afile` seem
to be a synonymous way to fetch a file's revision. HOWEVER, there's an
important distinction, `fossil update` would __merge-in uncommitted
changes__ with the requested revision, while `fossil revert` would
not -- it would just fetch the requested revision.

`fossil revert` allows you to back up from some messed up changes to a
given file without the need to commit related changes to other files.
I find this use-case fairly practical. `fossil stash` could be used
for this as well, yet revert seems more straightforward.
_______________________________________________
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