[issue494] update to a branch or revision without having to use
update -C
Erik Gorset
mercurial-bugs at selenic.com
Wed Jan 31 16:23:23 CST 2007
New submission from Erik Gorset <erik at medallia.com>:
>From Issue245:
> As far I understand, there is currently no easy way for the user to
> say "check out revision REV, whether or not it is linearly related to
> the current version, but DO warn me if I have modifications in my
> working directory".
If I want to change the workdir to another branch or rev, I'm forced to use hg
update -C rev and risk losing uncommitted changes, if there were any. The only
other option that exists, as far as I can see, is to clone the repository.
This is somewhat of a big issue if a project is using named branches heavily.
As update is maybe meant to work on the current workdir, maybe a new command is
needed that will "change" the current workdir to another branch or revision
(and complain if there is uncommitted changes).
----------
messages: 2746
nosy: erik
priority: feature
status: unread
superseder: Different behaviour for "hg update"?
title: update to a branch or revision without having to use update -C
topic: ui
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://www.selenic.com/mercurial/bts/issue494>
____________________________________________________
More information about the Mercurial-devel
mailing list