fixed mercurial addremove (hg moved the funciton from cmdutil to scmutil)

This commit is contained in:
Massimo DiPierro
2011-11-30 22:33:55 -06:00
parent 261ae74726
commit 1fbbf1734f
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ def commit():
INPUT(_type='submit',_value='Commit'))
if form.accepts(request.vars,session):
oldid = repo[repo.lookup('.')]
cmdutil.addremove(repo)
scmutil.addremove(repo)
repo.commit(text=form.vars.comment)
if repo[repo.lookup('.')] == oldid:
response.flash = 'no changes'