Rev 334: Reduce threshold for switching to checksums. in http://people.samba.org/bzr/jelmer/bzr-svn/bzr.dev

Jelmer Vernooij jelmer at samba.org
Sat Dec 30 02:15:55 GMT 2006


------------------------------------------------------------
revno: 334
revision-id: jelmer at samba.org-20061230021458-dlocxymqbkrngyet
parent: jelmer at samba.org-20061230011810-h4o2wd05ntp7q0fj
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: main
timestamp: Sat 2006-12-30 03:14:58 +0100
message:
  Reduce threshold for switching to checksums.
modified:
  fileids.py                     fileids.py-20060714013623-u5iiyqqnko11grcf-1
  mapping.txt                    mapping.txt-20060625151311-9ghaqrm71ajq593n-1
=== modified file 'fileids.py'
--- a/fileids.py	2006-12-29 23:18:29 +0000
+++ b/fileids.py	2006-12-30 02:14:58 +0000
@@ -42,7 +42,7 @@
         return ROOT_ID
     introduced_revision_id = generate_svn_revision_id(uuid, revnum, branch)
     ret = "%s-%s" % (introduced_revision_id, escape_svn_path(path))
-    if len(ret) > 250:
+    if len(ret) > 150:
         basename = os.path.basename(path)
         parent = path[:-len(basename)]
         ret = "%s-%s-%s" % (introduced_revision_id, 

=== modified file 'mapping.txt'
--- a/mapping.txt	2006-12-29 23:18:29 +0000
+++ b/mapping.txt	2006-12-30 02:14:58 +0000
@@ -83,7 +83,7 @@
 If a file is being replaced by a copy of itself in an older revision it will 
 receive a new file id.
 
-If the file id generated is longer than 250 bytes, the following format will 
+If the file id generated is longer than 150 bytes, the following format will 
 be used:
 
 <REVID>-<SHA1>-<FILENAME>




More information about the bazaar-commits mailing list