mercurial/bookmarks.py
changeset 34708 ee5f0d047b41
parent 33518 712a85b3677f
child 35266 3340d46a5c3f
equal deleted inserted replaced
34707:6cd8d8203204 34708:ee5f0d047b41
   844         else:
   844         else:
   845             prefix, label = ' ', ''
   845             prefix, label = ' ', ''
   846 
   846 
   847         bmarks[bmark] = (n, prefix, label)
   847         bmarks[bmark] = (n, prefix, label)
   848     _printbookmarks(ui, repo, bmarks, **opts)
   848     _printbookmarks(ui, repo, bmarks, **opts)
       
   849 
       
   850 def preparehookargs(name, old, new):
       
   851     if new is None:
       
   852         new = ''
       
   853     if old is None:
       
   854         old = ''
       
   855     return {'bookmark': name,
       
   856             'node': hex(new),
       
   857             'oldnode': hex(old)}