2a format should be the default but some tests fail
Bug #398668 reported by
Martin Pool
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
Critical
|
Robert Collins |
Bug Description
The 2a format should be the default for bzr 2.0.
We should do this: when there are no serious bugs related to this format, and preferably not too close to the release, so there can be some pre-testing by developers.
Related branches
lp:~lifeless/bzr/bug-398668
- John A Meinel: Approve
- Diff: 504 lines
summary: |
- 2a format should be the default + 2a format should be the default but some tests fail |
Changed in bzr: | |
importance: | High → Critical |
Changed in bzr: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
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 tests.blackbox. test_branch. TestBranch. test_branch_ hardlink [ mbp/bzr/ 398668- 2a-default/ bzrlib/ tests/blackbox/ test_branch. py", line 99, in test_branch_ hardlink assertEqual( source_ stat, target_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) 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)
failure: bzrlib.
RemoteException: Traceback (most recent call last):
File "/home/
self.
AssertionError: not equal:
a = posix.stat_
b = posix.stat_
apparently meaning that branch --hardlink does not hardlink the working copy files if it fails.