changeset 4183 | 6f9474044736 |
parent 4129 | e817c68edfed |
child 4185 | 51ee2868a571 |
--- a/mercurial/util.py Sat Mar 10 17:36:29 2007 -0800 +++ b/mercurial/util.py Sat Mar 10 23:00:42 2007 -0300 @@ -462,7 +462,7 @@ def globprefix(pat): '''return the non-glob prefix of a path, e.g. foo/* -> foo''' root = [] - for p in pat.split(os.sep): + for p in pat.split('/'): if contains_glob(p): break root.append(p) return '/'.join(root)