fixed mercurial addremove (hg moved the funciton from cmdutil to scmutil)
This commit is contained in:
@@ -1 +1 @@
|
||||
Version 1.99.3 (2011-11-30 22:23:02) dev
|
||||
Version 1.99.3 (2011-11-30 22:33:54) dev
|
||||
|
||||
@@ -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'
|
||||
|
||||
@@ -12,7 +12,7 @@ import socket
|
||||
from textwrap import dedent
|
||||
|
||||
try:
|
||||
from mercurial import ui, hg, cmdutil
|
||||
from mercurial import ui, hg, cmdutil, scmutil
|
||||
have_mercurial = True
|
||||
except ImportError:
|
||||
have_mercurial = False
|
||||
|
||||
Reference in New Issue
Block a user