[Bug 3916] New: relink could check if the files are on the same device before collecting the files

mercurial-bugs at selenic.com mercurial-bugs at selenic.com
Wed May 1 12:32:09 CDT 2013


http://bz.selenic.com/show_bug.cgi?id=3916

          Priority: normal
            Bug ID: 3916
                CC: mercurial-devel at selenic.com
          Assignee: bugzilla at selenic.com
           Summary: relink could check if the files are on the same device
                    before collecting the files
          Severity: feature
    Classification: Unclassified
                OS: Windows
          Reporter: simohe at besonet.ch
          Hardware: PC
            Status: UNCONFIRMED
           Version: 2.5.2
         Component: relink
           Product: Mercurial

relink first checks the candidate files and then checks if the files are
located on the same device. I do not see any disadvantages by checking the
device first. This would result in a speedup when a repo on a network drive is
selected by accident.

Currently samedevice is checked in prune() for every file. This should probably
be kept. But it could additionaly be tested for the repo folder (.hg, .hg/store
or ...) in relink() before calling collect().

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the Mercurial-devel mailing list