fixed mercurial addremove (hg moved the funciton from cmdutil to scmutil)
This commit is contained in:
@@ -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'
|
||||
|
||||
Reference in New Issue
Block a user