git: test failures: DeprecationWarning: Repo.ref(name) is deprecated. Use Repo.refs[name] instead.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Git Plugin |
Fix Released
|
Undecided
|
Jelmer Vernooij | ||
Breezy |
Fix Released
|
Medium
|
Jelmer Vernooij | ||
bzr-git (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
Running the tests of 0.6.12-2 (current trusty package) on current trusty gives three failures:
=======
FAIL: bzrlib.
-------
Traceback (most recent call last):
_StringException: log: {{{
0.200 creating repository in file://
0.203 creating branch <bzrlib.
0.211 trying to create missing lock '/tmp/testbzr-
0.212 opening working tree '/tmp/testbzr-
0.228 run bzr: ['ls', '-r-1']
0.228 bazaar version: 2.6.0
0.228 bzr arguments: [u'ls', u'-r-1']
0.231 encoding stdout as sys.stdout encoding 'utf-8'
0.239 output:
'a\n'
0.239 errors:
'/usr/lib/
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
pprint.
AssertionError: not equal:
a = '/usr/lib/
b = ''
=======
FAIL: bzrlib.
-------
Traceback (most recent call last):
_StringException: log: {{{
0.197 creating repository in file://
0.200 creating branch <bzrlib.
0.209 trying to create missing lock '/tmp/testbzr-
0.210 opening working tree '/tmp/testbzr-
0.228 run bzr: ['branch', 'gitbranch', 'bzrbranch']
0.228 bazaar version: 2.6.0
0.228 bzr arguments: [u'branch', u'gitbranch', u'bzrbranch']
0.231 encoding stdout as sys.stdout encoding 'utf-8'
0.241 creating repository in file://
0.262 creating branch <bzrlib.
0.272 trying to create missing lock '/tmp/testbzr-
0.273 opening working tree '/tmp/testbzr-
INFO Branched 1 revision.
0.323 errors:
'/usr/lib/
}}}
Traceback (most recent call last):
File "/usr/lib/
error)
File "/usr/lib/
raise self.failureExc
AssertionError: /usr/lib/
return self.repository
Branched 1 revision.
=======
FAIL: bzrlib.
-------
Traceback (most recent call last):
_StringException: log: {{{
0.612 run bzr: ['info', '-v']
0.613 bazaar version: 2.6.0
0.613 bzr arguments: [u'info', u'-v']
0.614 encoding stdout as sys.stdout encoding 'utf-8'
0.642 output:
'Standalone tree (format: git)\nLocation:\n branch root: .\n\nFormat:\n control: Local Git Repository\n working tree: Git Working Tree\n branch: Git Branch\n repository: Git Repository\
0.642 errors:
'/usr/lib/
}}}
Traceback (most recent call last):
File "/usr/lib/
self.
File "/usr/lib/
pprint.
AssertionError: not equal:
a = '/usr/lib/
b = ''
-------
Ran 244 tests in 1.804s
FAILED (failures=3, known_failure_
1 test skipped
Related branches
- Richard Wilbur: Approve
-
Diff: 11 lines (+1/-1)1 file modifiedbranch.py (+1/-1)
Changed in bzr-git: | |
status: | New → Confirmed |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in bzr-git: | |
status: | Confirmed → Fix Committed |
Changed in brz-git: | |
status: | New → Fix Released |
importance: | Undecided → Medium |
assignee: | nobody → Jelmer Vernooij (jelmer) |
Changed in brz-git: | |
milestone: | none → integration |
affects: | brz-git → brz |
Changed in brz: | |
milestone: | integration → none |
milestone: | none → 3.0.0 |
summary: |
- test failures: DeprecationWarning: Repo.ref(name) is deprecated. Use - Repo.refs[name] instead. + git: test failures: DeprecationWarning: Repo.ref(name) is deprecated. + Use Repo.refs[name] instead. |
Changed in bzr-git: | |
status: | Fix Committed → Fix Released |
Trivial patch. Tests succeed again.