mercurial/patch.py
changeset 3223 35d61e653174
parent 3215 53e843840349
child 3327 319358e6bd96
equal deleted inserted replaced
3222:3bd3a98b4921 3223:35d61e653174
   307     if not patches:
   307     if not patches:
   308         return
   308         return
   309     copies = []
   309     copies = []
   310     removes = []
   310     removes = []
   311     cfiles = patches.keys()
   311     cfiles = patches.keys()
   312     copts = {'after': False, 'force': False}
       
   313     cwd = repo.getcwd()
   312     cwd = repo.getcwd()
   314     if cwd:
   313     if cwd:
   315         cfiles = [util.pathto(cwd, f) for f in patches.keys()]
   314         cfiles = [util.pathto(cwd, f) for f in patches.keys()]
   316     for f in patches:
   315     for f in patches:
   317         ctype, gp = patches[f]
   316         ctype, gp = patches[f]