To get this branch, use:
bzr branch
http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar
« back to all changes in this revision
Viewing changes to bzrlib/branch.py
-
Committer:
Martin Pool
-
Date:
2005-04-15 02:50:53 UTC
-
Revision ID:
mbp@sourcefrog.net-20050415025053-645d8aae1d4debed
- gen_file_id: break the file on either / or \ when looking
for a safe prefix of the name
Show diffs side-by-side
added
removed
1004
1004
idx = name.rfind('/')
1006
1006
name = name[idx+1 : ]
1007
idx = name.rfind('\\')
1009
name = name[idx+1 : ]
1008
1011
name = name.lstrip('.')