bookmarks and branches again: files
Kevin Bullock
kbullock+mercurial at ringworld.org
Wed Jul 13 15:14:39 UTC 2016
> On Jul 13, 2016, at 03:18, Uwe Brauer <oub at mat.ucm.es> wrote:
>
>> Indeed, as expected, you have the commit formerly bookmarked 'master'
>> checked out (which by the way in hg should be spelled '@' instead).
>
> Why, I think I have read this somewhere, that @ is recommended but why?
Because '@' means the same thing to Mercurial that 'master' means to Git: it's the bookmark that gets automatically checked out when you clone a repo, whether or not it's on the tip of a branch.
Just as Subversion has 'trunk' and Git has 'master' and named branches have 'default', bookmarks have '@'.
pacem in terris / мир / शान्ति / سَلاَم / 平和
Kevin R. Bullock
More information about the Mercurial
mailing list