Show More
@@ -791,7 +791,9 b' def matchfiles(repo, files, badfn=None):' | |||||
791 | '''Return a matcher that will efficiently match exactly these files.''' |
|
791 | '''Return a matcher that will efficiently match exactly these files.''' | |
792 | return matchmod.exact(repo.root, repo.getcwd(), files, badfn=badfn) |
|
792 | return matchmod.exact(repo.root, repo.getcwd(), files, badfn=badfn) | |
793 |
|
793 | |||
794 |
def addremove(repo, matcher, prefix, opts= |
|
794 | def addremove(repo, matcher, prefix, opts=None, dry_run=None, similarity=None): | |
|
795 | if opts is None: | |||
|
796 | opts = {} | |||
795 | m = matcher |
|
797 | m = matcher | |
796 | if dry_run is None: |
|
798 | if dry_run is None: | |
797 | dry_run = opts.get('dry_run') |
|
799 | dry_run = opts.get('dry_run') |
General Comments 0
You need to be logged in to leave comments.
Login now