/brz/remove-bazaar

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 mapping.py

Keep track of file modes to use.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    escape_invalid_chars,
36
36
    )
37
37
 
 
38
DEFAULT_TREE_MODE = 0040000
 
39
DEFAULT_FILE_MODE = 0100644
 
40
DEFAULT_SYMLINK_MODE = 0120000
 
41
 
38
42
 
39
43
def escape_file_id(file_id):
40
44
    return file_id.replace('_', '__').replace(' ', '_s')