mercurial/dagparser.py
changeset 11879 4e804302d30c
parent 11344 32a9744acf1e
child 12134 26d86a6cf2af
equal deleted inserted replaced
11878:8bb1481cf08f 11879:4e804302d30c
     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 import re, string
     8 import re, string
     9 import util
     9 import util
       
    10 from i18n import _
    10 
    11 
    11 def parsedag(desc):
    12 def parsedag(desc):
    12     '''parses a DAG from a concise textual description; generates events
    13     '''parses a DAG from a concise textual description; generates events
    13 
    14 
    14     "+n" is a linear run of n nodes based on the current default parent
    15     "+n" is a linear run of n nodes based on the current default parent