mercurial/stack.py
changeset 43075 57875cf423c9
parent 42960 763028fc6a69
child 43077 687b865b95ad
equal deleted inserted replaced
43074:9cc55b743713 43075:57875cf423c9
     4 #
     4 #
     5 # This software may be used and distributed according to the terms of the
     5 # This software may be used and distributed according to the terms of the
     6 # GNU General Public License version 2 or any later version.
     6 # GNU General Public License version 2 or any later version.
     7 
     7 
     8 from __future__ import absolute_import
     8 from __future__ import absolute_import
       
     9 
     9 
    10 
    10 def getstack(repo, rev=None):
    11 def getstack(repo, rev=None):
    11     """return a sorted smartrev of the stack containing either rev if it is
    12     """return a sorted smartrev of the stack containing either rev if it is
    12     not None or the current working directory parent.
    13     not None or the current working directory parent.
    13 
    14