equal
deleted
inserted
replaced
142 Return a dirstate object that tracks largefiles: i.e. its root is |
142 Return a dirstate object that tracks largefiles: i.e. its root is |
143 the repo root, but it is saved in .hg/largefiles/dirstate. |
143 the repo root, but it is saved in .hg/largefiles/dirstate. |
144 ''' |
144 ''' |
145 vfs = repo.vfs |
145 vfs = repo.vfs |
146 lfstoredir = longname |
146 lfstoredir = longname |
147 opener = scmutil.opener(vfs.join(lfstoredir)) |
147 opener = scmutil.vfs(vfs.join(lfstoredir)) |
148 lfdirstate = largefilesdirstate(opener, ui, repo.root, |
148 lfdirstate = largefilesdirstate(opener, ui, repo.root, |
149 repo.dirstate._validate) |
149 repo.dirstate._validate) |
150 |
150 |
151 # If the largefiles dirstate does not exist, populate and create |
151 # If the largefiles dirstate does not exist, populate and create |
152 # it. This ensures that we create it on the first meaningful |
152 # it. This ensures that we create it on the first meaningful |