Probably also this bug, in some slightly mysterious circumstances that depends on my particular test setup and on what other tests are also run, I get this failure:
File ".\bzrlib\branchbuilder.py", line 42, in bzrlib.branchbuilder.BranchBuilder
Failed example:
builder.build_snapshot('rev-id', None, [
('add', ('', 'root-id', 'directory', '')),
('add', ('filename', 'f-id', 'file', 'content\n'))])
Exception raised:
Traceback (most recent call last):
File "...\python-trunk\lib\doctest.py", line 1248, in __run compileflags, 1) in test.globs
File "<doctest bzrlib.branchbuilder.BranchBuilder[3]>", line 3, in <module>
('add', ('filename', 'f-id', 'file', 'content\n'))])
File ".\bzrlib\branchbuilder.py", line 250, in build_snapshot message_callback=message_callback)
File ".\bzrlib\branchbuilder.py", line 112, in _do_commit
**kwargs)
File "<string>", line 4, in commit_write_locked
File ".\bzrlib\mutabletree.py", line 200, in commit
*args, **kwargs)
File ".\bzrlib\commit.py", line 286, in commit possible_master_transports=possible_master_transports)
File ".\bzrlib\cleanup.py", line 131, in run self.cleanups, self.func, self, *args, **kwargs)
File ".\bzrlib\cleanup.py", line 165, in _do_with_cleanups
result = func(*args, **kwargs)
File ".\bzrlib\commit.py", line 402, in _commit self.config, timestamp, timezone, committer, self.revprops, rev_id)
File ".\bzrlib\branch.py", line 704, in get_commit_builder
timestamp, timezone, committer, revprops, revision_id)
File ".\bzrlib\repository.py", line 1765, in get_commit_builder
timestamp, timezone, committer, revprops, revision_id)
File ".\bzrlib\repofmt\pack_repo.py", line 117, in __init__ revprops=revprops, revision_id=revision_id)
File ".\bzrlib\repository.py", line 114, in __init__ self._committer = self._config.username()
File ".\bzrlib\config.py", line 279, in username
raise errors.NoWhoami()
NoWhoami: Unable to determine your name.
Please, set your name with the 'whoami' command.
E.g. bzr whoami "Your Name <email address hidden>"
Probably also this bug, in some slightly mysterious circumstances that depends on my particular test setup and on what other tests are also run, I get this failure:
File ".\bzrlib\ branchbuilder. py", line 42, in bzrlib. branchbuilder. BranchBuilder build_snapshot( 'rev-id' , None, [ trunk\lib\ doctest. py", line 1248, in __run
compileflags, 1) in test.globs branchbuilder. BranchBuilder[ 3]>", line 3, in <module> branchbuilder. py", line 250, in build_snapshot
message_ callback= message_ callback) branchbuilder. py", line 112, in _do_commit mutabletree. py", line 200, in commit commit. py", line 286, in commit
possible_ master_ transports= possible_ master_ transports) cleanup. py", line 131, in run
self.cleanups, self.func, self, *args, **kwargs) cleanup. py", line 165, in _do_with_cleanups commit. py", line 402, in _commit
self.config, timestamp, timezone, committer, self.revprops, rev_id) branch. py", line 704, in get_commit_builder repository. py", line 1765, in get_commit_builder repofmt\ pack_repo. py", line 117, in __init__
revprops= revprops, revision_ id=revision_ id) repository. py", line 114, in __init__
self._ committer = self._config. username( ) config. py", line 279, in username
Failed example:
builder.
('add', ('', 'root-id', 'directory', '')),
('add', ('filename', 'f-id', 'file', 'content\n'))])
Exception raised:
Traceback (most recent call last):
File "...\python-
File "<doctest bzrlib.
('add', ('filename', 'f-id', 'file', 'content\n'))])
File ".\bzrlib\
File ".\bzrlib\
**kwargs)
File "<string>", line 4, in commit_write_locked
File ".\bzrlib\
*args, **kwargs)
File ".\bzrlib\
File ".\bzrlib\
File ".\bzrlib\
result = func(*args, **kwargs)
File ".\bzrlib\
File ".\bzrlib\
timestamp, timezone, committer, revprops, revision_id)
File ".\bzrlib\
timestamp, timezone, committer, revprops, revision_id)
File ".\bzrlib\
File ".\bzrlib\
File ".\bzrlib\
raise errors.NoWhoami()
NoWhoami: Unable to determine your name.
Please, set your name with the 'whoami' command.
E.g. bzr whoami "Your Name <email address hidden>"