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

datamine: override user defined mercurial command defaults

which were messing up the output of annotate and grep.

Changeset 8c2e626f703a

Parent 343f35389935

by TK Soh

Changes to one file · Browse files at 8c2e626f703a Showing diff from parent 343f35389935 Diff from another changeset...

Change 1 of 2 Show Entire File hggtk/​datamine.py Stacked
 
281
282
283
284
 
285
286
287
 
562
563
564
565
566
 
 
567
568
569
 
281
282
283
 
284
285
286
287
 
562
563
564
 
 
565
566
567
568
569
@@ -281,7 +281,7 @@
  return     q = Queue.Queue() - args = [self.repo.root, q, 'grep'] + args = [self.repo.root, q, 'grep', '--config', 'defaults.grep=']   if follow.get_active(): args.append('--follow')   if ignorecase.get_active(): args.append('--ignore-case')   if linenum.get_active(): args.append('--line-number') @@ -562,8 +562,8 @@
  '''   (frame, model, path) = objs   q = Queue.Queue() - args = [self.repo.root, q, 'annotate', '--follow', '--number', - '--rev', str(rev), path] + args = [self.repo.root, q, '--config', 'defaults.annotate=', + 'annotate', '--follow', '--number', '--rev', str(rev), path]   thread = threading.Thread(target=hgcmd_toq, args=args)   thread.start()   frame._mythread = thread