Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.7, 0.7.1, and 0.7.2

datamine: allow to be launched from within a repository

cd repo/sub/dir ; hgtk blame foo.c # now works

Changeset 6a96a4d1bf66

Parent 6319eddd0c6e

by Steve Borho

Changes to one file · Browse files at 6a96a4d1bf66 Showing diff from parent 6319eddd0c6e Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​datamine.py Stacked
 
672
673
674
675
676
 
677
678
679
680
 
681
682
683
684
 
 
 
 
 
 
685
686
687
 
672
673
674
 
 
675
676
677
 
 
678
679
680
681
 
682
683
684
685
686
687
688
689
690
@@ -672,16 +672,19 @@
  'include':[], 'exclude':[]   }   - dialog = DataMineDialog(u, repo, cwd, files, cmdoptions, True) - dialog.display() + cf = []   for f in files:   if os.path.isfile(f): - cf = util.canonpath(root, cwd, f) - dialog.add_annotate_page(cf, '.') + cf.append(util.canonpath(root, cwd, f))   elif os.path.isdir(f):   Prompt('Invalid path', "Can't annotate directory: %s" % f,   dialog).run() - + + dialog = DataMineDialog(u, repo, cwd, files, cmdoptions, True) + dialog.display() + + for f in cf: + dialog.add_annotate_page(f, '.')   if not dialog.notebook.get_n_pages():   dialog.add_search_page()