[Bug 6012] New: Same behavior for bookmark "master" than for "@" ?

mercurial-bugs at mercurial-scm.org mercurial-bugs at mercurial-scm.org
Fri Oct 26 07:19:49 UTC 2018


https://bz.mercurial-scm.org/show_bug.cgi?id=6012

            Bug ID: 6012
           Summary: Same behavior for bookmark "master" than for "@" ?
           Product: Mercurial
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: feature
          Priority: wish
         Component: bookmarks
          Assignee: bugzilla at mercurial-scm.org
          Reporter: pierre.augier at univ-grenoble-alpes.fr
                CC: mercurial-devel at mercurial-scm.org

In https://www.mercurial-scm.org/wiki/Bookmarks, there is written:

"If you have a bookmark named @ when cloning a remote repository, "hg clone"
will check it out by default."

When using hg-git, the name of the special bookmark corresponding to the master
git branch is master.

When one clones a repository with the bookmark master in the default branch,
the bookmark master is not checked out by default. We get the tip of the
default branch which can be anything.

Wouldn't it be good to check out the master bookmark if there is no bookmark @
?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list