Changeset 51697d14bf32…
Parent 62b90c025f3f…
by
Changes to one file · Browse files at 51697d14bf32 Showing diff from parent 62b90c025f3f Diff from another changeset...
@@ -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,
|
Loading...