Kiln » TortoiseHg » TortoiseHg
Clone URL:  
Pushed to one repository · View In Graph Contained in 0.8.1, 0.8.2, and 0.8.3

history, datamine: prepend 'path:' in front of filenames

This bypasses Mercurial's attempt to treat all file names as glob patterns
for two reasons:

1) performance
2) some valid filenames are not valid globs

Fixes #363

Changeset 7ea2c9a7dd76

Parent 7ba4f626f6c3

by Steve Borho

Changes to 2 files · Browse files at 7ea2c9a7dd76 Showing diff from parent 7ba4f626f6c3 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​datamine.py Stacked
 
666
667
668
669
 
670
671
672
 
666
667
668
 
669
670
671
672
@@ -666,7 +666,7 @@
  (frame, treeview, path, graphview) = objs   q = Queue.Queue()   args = [self.repo.root, q, 'annotate', '--follow', '--number', - '--rev', str(rev), path] + '--rev', str(rev), 'path:'+path]   thread = thread2.Thread(target=hgcmd_toq, args=args)   thread.start()   frame._mythread = thread
 
156
157
158
 
159
160
161
 
156
157
158
159
160
161
162
@@ -156,6 +156,7 @@
    stack = []   get = util.cachefunc(lambda r: repo.changectx(r).changeset()) + pats = ['path:'+p for p in pats]   changeiter, matchfn = cmdutil.walkchangerevs(repo.ui, repo, pats, get, opts)   for st, rev, fns in changeiter:   if st == 'iter':