##// END OF EJS Templates
infinitepush: ensure fileindex bookmarks use '/' separators (issue5840)...
Matt Harbison -
r37829:51dee6fa stable
parent child Browse files
Show More
@@ -15,6 +15,8 b' from __future__ import absolute_import'
15 15
16 16 import os
17 17
18 from mercurial import util
19
18 20 from mercurial.utils import stringutil
19 21
20 22 from . import indexapi
@@ -82,6 +84,7 b' class fileindexapi(indexapi.indexapi):'
82 84 for dirpath, _, books in self._repo.vfs.walk(self._bookmarkmap):
83 85 for book in books:
84 86 bookmark = os.path.join(dirpath, book)[prefixlen:]
87 bookmark = util.pconvert(bookmark)
85 88 if not matcher(bookmark):
86 89 continue
87 90 yield bookmark, self._read(os.path.join(dirpath, book))
General Comments 0
You need to be logged in to leave comments. Login now