Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 2.0.2, 2.0.3, and 2.0.4

stable chunks: use updatedir directly from cmdutil

updatedir() moved between hg-1.6 and hg-1.7. The stable branch requires hg-1.8
at a minimum.

Changeset ba4c20dcb045

Parent 99cd5e7ac21e

by Steve Borho

Changes to one file · Browse files at ba4c20dcb045 Showing diff from parent 99cd5e7ac21e Diff from another changeset...

 
8
9
10
11
 
12
13
14
 
128
129
130
131
 
132
133
134
 
8
9
10
 
11
12
13
14
 
128
129
130
 
131
132
133
134
@@ -8,7 +8,7 @@
 import cStringIO  import os   -from mercurial import hg, util, patch, commands +from mercurial import hg, util, patch, commands, cmdutil  from mercurial import match as matchmod, ui as uimod  from hgext import record   @@ -128,7 +128,7 @@
  break   if updatestate and ok:   # Apply operations specified in git diff headers - hglib.updatedir(repo.ui, repo, pfiles) + cmdutil.updatedir(repo.ui, repo, pfiles)   return ok     def editCurrentFile(self):