Mercurial > hg
comparison mercurial/util.py @ 12345:e0ee3e822a9a
Merge with stable
author | Patrick Mezard <pmezard@gmail.com> |
---|---|
date | Mon, 20 Sep 2010 22:29:13 +0200 |
parents | 6f58430dfdd0 b6173aee4a47 |
children | 4f8067c94729 |
comparison
equal
deleted
inserted
replaced
12323:f00953d9533c | 12345:e0ee3e822a9a |
---|---|
642 l = len(root) | 642 l = len(root) |
643 if name[l] == os.sep or name[l] == os.altsep: | 643 if name[l] == os.sep or name[l] == os.altsep: |
644 l = l + 1 | 644 l = l + 1 |
645 name = name[l:] | 645 name = name[l:] |
646 | 646 |
647 if not os.path.exists(os.path.join(root, name)): | 647 if not os.path.lexists(os.path.join(root, name)): |
648 return None | 648 return None |
649 | 649 |
650 seps = os.sep | 650 seps = os.sep |
651 if os.altsep: | 651 if os.altsep: |
652 seps = seps + os.altsep | 652 seps = seps + os.altsep |