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

status: update rename suggestion logic

As it turned out, I decided to ignore added and removed files for renames
(files whose state changes the user has notified Mercurial about). Only
missing and unknown files are considers, catching moves and renames performed
inside the explorer shell.

Changeset 96159d84a2cc

Parent 5b6d27de52e1

by Steve Borho

Changes to one file · Browse files at 96159d84a2cc Showing diff from parent 5b6d27de52e1 Diff from another changeset...

Change 1 of 1 Show Entire File hggtk/​status.py Stacked
 
521
522
523
524
 
525
526
527
 
521
522
523
 
524
525
526
527
@@ -521,7 +521,7 @@
  (modified, added, removed, deleted, unknown, ignored, clean) = status   self.modified = modified   - if not self.opts.get('rev') and (deleted or removed) and (unknown or added): + if not self.opts.get('rev') and deleted and unknown:   print "Suggest to detect copies or renames"     changetypes = (('modified', 'M', modified),