mercurial/patch.py
changeset 3223 53e843840349
parent 3199 096f1c73cdc3
child 3231 35d61e653174
equal deleted inserted replaced
3222:a5603ad915c5 3223:53e843840349
   126             self.oldpath = None
   126             self.oldpath = None
   127             self.mode = None
   127             self.mode = None
   128             self.op = 'MODIFY'
   128             self.op = 'MODIFY'
   129             self.copymod = False
   129             self.copymod = False
   130             self.lineno = 0
   130             self.lineno = 0
   131     
   131 
   132     # Filter patch for git information
   132     # Filter patch for git information
   133     gitre = re.compile('diff --git a/(.*) b/(.*)')
   133     gitre = re.compile('diff --git a/(.*) b/(.*)')
   134     pf = file(patchname)
   134     pf = file(patchname)
   135     gp = None
   135     gp = None
   136     gitpatches = []
   136     gitpatches = []