hgext/show.py
branchstable
changeset 32058 0bb157bebb43
parent 31945 02c3b1f396de
child 32331 bd872f64a8ba
equal deleted inserted replaced
32057:e5ffc91a2276 32058:0bb157bebb43
   187     if wdirrev != nullrev:
   187     if wdirrev != nullrev:
   188         relevant += revset.baseset(set([wdirrev]))
   188         relevant += revset.baseset(set([wdirrev]))
   189 
   189 
   190     return subset & relevant
   190     return subset & relevant
   191 
   191 
   192 @showview('underway', fmtopic='underway')
   192 @showview('work', fmtopic='work')
   193 def showunderway(ui, repo, fm):
   193 def showwork(ui, repo, fm):
   194     """changesets that aren't finished"""
   194     """changesets that aren't finished"""
   195     # TODO support date-based limiting when calling revset.
   195     # TODO support date-based limiting when calling revset.
   196     revs = repo.revs('sort(_underway(), topo)')
   196     revs = repo.revs('sort(_underway(), topo)')
   197 
   197 
   198     revdag = graphmod.dagwalker(repo, revs)
   198     revdag = graphmod.dagwalker(repo, revs)