Re: [fossil-users] revert all files: doesn't work

2015-07-22 Thread Michai Ramakers
On 22 July 2015 at 11:20, Stephan Beal sgb...@googlemail.com wrote:
 On Wed, Jul 22, 2015 at 5:25 AM, Michai Ramakers m.ramak...@gmail.com
 wrote:

 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.

 That will merge in any local differences. Doing 'fossil checkout REV' will
 overwrite them.

ah yes

 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.

 Usage: f revert ?-r REVISION? ?FILE ...?

 Revert to the current repository version of FILE, or to
 the version associated with baseline REVISION if the -r flag
 appears.
 ...
 Revert all files if no file name is provided.

right, but 'fossil revert MyRevision' (w/o files) counter-intuitively
gives an error. Or I am missing the point. This came up on a few posts
I found, and puzzled the users, that's what happened to the OP too I
guess.

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


Re: [fossil-users] revert all files: doesn't work

2015-07-22 Thread Stephan Beal
On Wed, Jul 22, 2015 at 5:25 AM, Michai Ramakers m.ramak...@gmail.com
wrote:

 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.


That will merge in any local differences. Doing 'fossil checkout REV' will
overwrite them.


 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.


Usage: f revert ?-r REVISION? ?FILE ...?

Revert to the current repository version of FILE, or to
the version associated with baseline REVISION if the -r flag
appears.
...
Revert all files if no file name is provided.
...


-- 
- stephan beal
http://wanderinghorse.net/home/stephan/
http://gplus.to/sgbeal
Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do. -- Bigby Wolf
___
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users