[merge] BranchBuilder passes timestamps through to commit

John Arbash Meinel john at arbash-meinel.com
Tue Mar 3 01:57:04 GMT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Martin Pool wrote:
> This patch lets you pass a timestamp= kwarg to branchbuilders to get
> deterministic output in tests that need to look at the date.
> 
> Having written this I'm actually wondering if it would be better for
> BranchBuilder to always force the timestamp to a particular value,
> with say 1s intervals between commits, if none is given.  That would
> make the tests more isolated from the environment which is good, all
> other things being equal.
> 
> However, I can imagine some tests might want to force a particular
> time and so having this is still worthwhile.
> 
> 

BB:approve

I've often wanted it for things like "message", so I'm happy to bring
this in.

John
=:->

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkmsjnAACgkQJdeBCYSNAANvrgCeLJF8DtivFcyEcapXIMsFu8w8
1WYAnRgMgomOIWgGkEbqbjcYTgjs8e2R
=076N
-----END PGP SIGNATURE-----



More information about the bazaar mailing list