Comment 1 for bug 398668

Revision history for this message
Martin Pool (mbp) wrote : Re: 2a format should be the default

I have a plugin at https://code.launchpad.net/mbp/+junk/default2a that globally sets bzr's default format to 2a. Use care if you install that.

Using this plugin and running selftest shows several failures. The first I'm looking at is

test: bzrlib.tests.blackbox.test_branch.TestBranch.test_branch_hardlink
failure: bzrlib.tests.blackbox.test_branch.TestBranch.test_branch_hardlink [
RemoteException: Traceback (most recent call last):
  File "/home/mbp/bzr/398668-2a-default/bzrlib/tests/blackbox/test_branch.py", line 99, in test_branch_hardlink
    self.assertEqual(source_stat, target_stat)
AssertionError: not equal:
a = posix.stat_result(st_mode=33188, st_ino=745538, st_dev=64519L, st_nlink=1, st_uid=1000, st_gid=1000, st_size=25, st_atime=1249265516, st_mtime=1249265516, st_ctime=1249265516)
b = posix.stat_result(st_mode=33188, st_ino=745583, st_dev=64519L, st_nlink=1, st_uid=1000, st_gid=1000, st_size=25, st_atime=1249265516, st_mtime=1249265516, st_ctime=1249265516)

apparently meaning that branch --hardlink does not hardlink the working copy files if it fails.