On 10/30/05, Zbynek Winkler <zwin@xxxxxxxxxxxxxxxxxxxxx> wrote:
> Benoit Boissinot wrote:
> >
> >Doing hg status before revert will give the same result (if you don't
> >use revert -r).
> >
> >
> Yes, but revert discards your data that you probably will not be able to
> recover. So it IMHO warrants some "obstacles"...
> OTOH wouldn't update -C give you the same thing as tree-wide revert?
>
update -C updates the dirstate so if you changes things you will
create a new branch,
revert just put the files in the state it is at <rev>.
Benoit
|