/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 breezy/generate_ids.py

  • Committer: Jelmer Vernooij
  • Date: 2018-03-24 17:48:04 UTC
  • mfrom: (6921 work)
  • mto: This revision was merged to the branch mainline in revision 6923.
  • Revision ID: jelmer@jelmer.uk-20180324174804-xf22o05byoj12x1q
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
 
36
36
# the regex removes any weird characters; we don't escape them
37
37
# but rather just pull them out
38
 
_file_id_chars_re = lazy_regex.lazy_compile('[^\\w.]')
39
 
_rev_id_chars_re = lazy_regex.lazy_compile('[^-\\w.+@]')
 
38
_file_id_chars_re = lazy_regex.lazy_compile(r'[^\w.]')
 
39
_rev_id_chars_re = lazy_regex.lazy_compile(r'[^-\w.+@]')
40
40
_gen_file_id_suffix = None
41
41
_gen_file_id_serial = 0
42
42