Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 1.0.2, 1.0.3, and 1.0.4

stable status: remove util.any() reference; requires hg >= 1.5

This will not be merged to the default branch; since default requires
Mercurial 1.5

Changeset 51697d14bf32

Parent 62b90c025f3f

by Steve Borho

Changes to one file · Browse files at 51697d14bf32 Showing diff from parent 62b90c025f3f Diff from another changeset...

 
1747
1748
1749
1750
 
 
 
 
 
 
 
1751
1752
1753
 
1747
1748
1749
 
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
@@ -1747,7 +1747,13 @@
  return False    def run(ui, *pats, **opts): - showclean = util.any(os.path.isfile(e) for e in pats) + # When hg-1.4 support is dropped, use util.any + #showclean = util.any(os.path.isfile(e) for e in pats) + showclean = False + for e in pats: + if os.path.isfile(e): + showclean = True + break   rev = opts.get('rev', [])   cmdoptions = {   'all':False, 'clean':showclean, 'ignored':False, 'modified':True,