[MERGE] Don't require an email to commit

John Arbash Meinel john at arbash-meinel.com
Thu Nov 2 22:55:00 GMT 2006

I decided to do the change over the "right" way, and refactor the code a
bit to put the revision id and file id generators in the same location
(generate_ids.py). Originally I thought they would share more code, but
it turns out they are generated in slightly different ways. (@-+ are
stripped from file ids, etc)

The patch deprecates the functions in working_tree.py, and then creates
a new function gen_revision_id(), and adds a bunch of tests for it.

It also turns out that gen_root_id() didn't have any tests, so I just
added a simple one.

The new 'gen_revision_id()' does use rand_chars() rather than
hexlify(rand_bytes()), but I haven't changed the ordering of the
sections yet.  I figured this was the safest of the changes, and the
rest we can sort out later.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: commit_no_email.patch
Type: text/x-patch
Size: 23736 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/db12a4dd/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20061102/db12a4dd/attachment.pgp 

More information about the bazaar mailing list