mercurial/commands.py
changeset 11063 eb23c876c111
parent 11061 51d0387523c6
child 11078 37d1b20168d1
equal deleted inserted replaced
11062:a2a6fd1064df 11063:eb23c876c111
  3207     similarly to other project files and can be hand-edited if
  3207     similarly to other project files and can be hand-edited if
  3208     necessary. The file '.hg/localtags' is used for local tags (not
  3208     necessary. The file '.hg/localtags' is used for local tags (not
  3209     shared among repositories).
  3209     shared among repositories).
  3210 
  3210 
  3211     See :hg:`help dates` for a list of formats valid for -d/--date.
  3211     See :hg:`help dates` for a list of formats valid for -d/--date.
       
  3212 
       
  3213     Since tag names have priority over branch names during revision
       
  3214     lookup, using an existing branch name as a tag name is discouraged.
  3212     """
  3215     """
  3213 
  3216 
  3214     rev_ = "."
  3217     rev_ = "."
  3215     names = (name1,) + names
  3218     names = (name1,) + names
  3216     if len(names) != len(set(names)):
  3219     if len(names) != len(set(names)):