Show More
@@ -1117,8 +1117,11 b' def commit(ui, repo, commitfunc, pats, o' | |||||
1117 | '''commit the specified files or all outstanding changes''' |
|
1117 | '''commit the specified files or all outstanding changes''' | |
1118 | message = logmessage(opts) |
|
1118 | message = logmessage(opts) | |
1119 |
|
1119 | |||
1120 | if opts['addremove']: |
|
1120 | # extract addremove carefully -- this function can be called from a command | |
|
1121 | # that doesn't support addremove | |||
|
1122 | if opts.get('addremove'): | |||
1121 | addremove(repo, pats, opts) |
|
1123 | addremove(repo, pats, opts) | |
|
1124 | ||||
1122 | fns, match, anypats = matchpats(repo, pats, opts) |
|
1125 | fns, match, anypats = matchpats(repo, pats, opts) | |
1123 | if pats: |
|
1126 | if pats: | |
1124 | status = repo.status(files=fns, match=match) |
|
1127 | status = repo.status(files=fns, match=match) |
General Comments 0
You need to be logged in to leave comments.
Login now