mercurial/commands.py
changeset 40037 fcad7fdc6474
parent 40016 1f12a3ad93f2
child 40082 4fd0fac48922
equal deleted inserted replaced
40036:acf5dbe39478 40037:fcad7fdc6474
  3109                 bm = '/'.join(getbms())
  3109                 bm = '/'.join(getbms())
  3110                 if bm:
  3110                 if bm:
  3111                     output.append(bm)
  3111                     output.append(bm)
  3112         else:
  3112         else:
  3113             fm.data(node=hex(remoterev))
  3113             fm.data(node=hex(remoterev))
  3114             if 'bookmarks' in fm.datahint():
  3114             if bookmarks or 'bookmarks' in fm.datahint():
  3115                 fm.data(bookmarks=fm.formatlist(getbms(), name='bookmark'))
  3115                 fm.data(bookmarks=fm.formatlist(getbms(), name='bookmark'))
  3116     else:
  3116     else:
  3117         if rev:
  3117         if rev:
  3118             repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn')
  3118             repo = scmutil.unhidehashlikerevs(repo, [rev], 'nowarn')
  3119         ctx = scmutil.revsingle(repo, rev, None)
  3119         ctx = scmutil.revsingle(repo, rev, None)