Changeset 845 in tailor
- Timestamp:
- 09/25/05 00:48:43 (8 years ago)
- Hash name:
- 20050924224843-97f81-7e739e319fece74901d7ec90ee6474d586f9493b
- File:
-
- 1 edited
-
vcpx/hglib.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/hglib.py
r825 r845 14 14 15 15 from target import SyncronizableTargetWorkingDir, TargetInitializationFailure 16 from mercurial import ui, hg, commands 16 from mercurial import ui, hg, commands, util 17 17 18 18 class HglibWorkingDir(SyncronizableTargetWorkingDir): 19 20 def _normalizeEntryPaths(self, entry): 21 """ 22 Normalize the name and old_name of an entry. 23 24 This implementation uses ``mercurial.util.normpath()``, since 25 at this level hg is expecting UNIX style pathnames, with 26 forward slash"/" as separator, also under insane operating systems. 27 """ 28 29 entry.name = util.normpath(entry.name) 30 if entry.old_name: 31 entry.old_name = util.normpath(entry.old_name) 32 19 33 def _addPathnames(self, names): 20 34 from os.path import join, isdir
Note: See TracChangeset
for help on using the changeset viewer.
