mercurial/cmdutil.py
changeset 6566 30d3d531e11a
parent 6553 0bb76d168437
child 6575 e08e0367ba15
child 6651 7f0dd352fb4d
equal deleted inserted replaced
6561:c242fc76958e 6566:30d3d531e11a
   393                     repo.add([abstarget])
   393                     repo.add([abstarget])
   394             elif not dryrun:
   394             elif not dryrun:
   395                 repo.copy(origsrc, abstarget)
   395                 repo.copy(origsrc, abstarget)
   396 
   396 
   397         if rename and not dryrun:
   397         if rename and not dryrun:
   398             repo.remove([abssrc], True)
   398             repo.remove([abssrc], not after)
   399 
   399 
   400     # pat: ossep
   400     # pat: ossep
   401     # dest ossep
   401     # dest ossep
   402     # srcs: list of (hgsep, hgsep, ossep, bool)
   402     # srcs: list of (hgsep, hgsep, ossep, bool)
   403     # return: function that takes hgsep and returns ossep
   403     # return: function that takes hgsep and returns ossep