Bug 1993 - 'update' command should distinguish between tag and branch
Summary: 'update' command should distinguish between tag and branch
Status: RESOLVED FIXED
Alias: None
Product: Mercurial
Classification: Unclassified
Component: Mercurial (show other bugs)
Version: unspecified
Hardware: All All
: wish feature
Assignee: Bugzilla
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-24 01:28 UTC by cbgm
Modified: 2012-05-13 04:47 UTC (History)
7 users (show)

See Also:
Python Version: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description cbgm 2010-01-24 01:28 UTC
Mercurial 'update' command should distinguish between tag and branch.

As for now, 'update' command prefers tag name if there are tagged revision
and named branch with same name in repository.

It is possibly '-r' key of 'update' command should update working copy to
tagged revision whereas 'update' without the key should update to named
branch head revision; or, maybe there should be something like 'tag:' prefix
to distinguish between tag and branch.
Comment 1 HG Bot 2010-10-13 11:00 UTC
Fixed by http://hg.intevation.org/mercurial/crew/rev/61c0df2b089a
Augie Fackler <durin42@gmail.com>
update: use revsingle to enable use of revsets as update targets (issue1993)
Comment 2 Bugzilla 2012-05-12 09:05 UTC

--- Bug imported by bugzilla@serpentine.com 2012-05-12 09:05 EDT  ---

This bug was previously known as _bug_ 1993 at http://mercurial.selenic.com/bts/issue1993