Commits

Steve Borho  committed 4517836

hglib: remove old cmdutil.updatedir API movement hack

  • Participants
  • Parent commits 8de0fdb

Comments (0)

Files changed (2)

File tortoisehg/util/hglib.py

 import time
 import inspect
 
-from mercurial.cmdutil import updatedir
 from mercurial import ui, util, extensions, match, bundlerepo, url, cmdutil
 from mercurial import dispatch, encoding, templatefilters, filemerge, error
 from mercurial import scmutil

File tortoisehg/util/hgshelve.py

 import re
 import tempfile
 
-from mercurial import cmdutil, commands, cmdutil, hg, mdiff, patch, revlog
+from mercurial import commands, cmdutil, hg, mdiff, patch, revlog
 from mercurial import util, fancyopts
 
 from tortoisehg.util.i18n import _
                     fp.seek(0)
                     pfiles = {}
                     internalpatch(fp, ui, 1, repo.root, files=pfiles)
-                    hglib.updatedir(ui, repo, pfiles)
+                    cmdutil.updatedir(ui, repo, pfiles)
                     patchdone = 1
                 except:
                     if opts['force']: