hgext/journal.py
changeset 35462 6f754b0fe54e
parent 35207 d210723b73e5
child 35888 c8e2d6ed1f9e
equal deleted inserted replaced
35461:3a119a423953 35462:6f754b0fe54e
   478             displayname = "'%s'" % name
   478             displayname = "'%s'" % name
   479         ui.status(_("previous locations of %s:\n") % displayname)
   479         ui.status(_("previous locations of %s:\n") % displayname)
   480 
   480 
   481     limit = cmdutil.loglimit(opts)
   481     limit = cmdutil.loglimit(opts)
   482     entry = None
   482     entry = None
       
   483     ui.pager('journal')
   483     for count, entry in enumerate(repo.journal.filtered(name=name)):
   484     for count, entry in enumerate(repo.journal.filtered(name=name)):
   484         if count == limit:
   485         if count == limit:
   485             break
   486             break
   486         newhashesstr = fm.formatlist(map(fm.hexfunc, entry.newhashes),
   487         newhashesstr = fm.formatlist(map(fm.hexfunc, entry.newhashes),
   487                                      name='node', sep=',')
   488                                      name='node', sep=',')