Merge lp:~vila/qbzr/config-get-filename-deleted into lp:qbzr
Proposed by
Vincent Ladeuil
Status: | Rejected |
---|---|
Rejected by: | Gary van der Merwe |
Proposed branch: | lp:~vila/qbzr/config-get-filename-deleted |
Merge into: | lp:qbzr |
Diff against target: |
19 lines (+1/-5) 1 file modified
lib/util.py (+1/-5) |
To merge this branch: | bzr merge lp:~vila/qbzr/config-get-filename-deleted |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Gary van der Merwe | Needs Fixing | ||
Review via email: mp+34095@code.launchpad.net |
Description of the change
This should fix the use of _get_filename() in lib/util.py
This method has been deleted from bzr.dev but the proposed version should
still work for bzr-2.2.
I just encountered this while working on more urgent stuff and wanted to give
feeedback asap.
To post a comment you must log in.
Unmerged revisions
- 1287. By Vincent Ladeuil
-
Stop-gap fix, _get_filename() doesn't exist anymore.
Thanks for the patch.
I did a user test with both 2.2 and bzr.dev, and it works for both.
But when I run the test suit with 2.2, I get this error, in 5 different tests: (I don't get the errors when I run the test suit with bzr.dev) ======= ======= ======= ======= ======= ======= ======= ======= ======= plugins. qbzr.lib. tests.test_ log.TestLog. test_just_ show_log_ simple_ commit ------- ------- ------- ------- ------- ------- ------- ------- ------- garyvdm/ qbzr/trunk/ lib/util. py", line 334, in closeEvent garyvdm/ qbzr/trunk/ lib/util. py", line 282, in saveSize set_user_ option( name + "_window_size", "%dx%d" % size) garyvdm/ qbzr/trunk/ lib/util. py", line 228, in set_user_option _write_ config_ file() python2. 6/dist- packages/ bzrlib/ config. py", line 483, in _write_config_file AtomicFile( filename) python2. 6/dist- packages/ bzrlib/ atomicfile. py", line 75, in __init__ self.tmpfilenam e, flags, local_mode) oUnF5j. tmp/bzrlib. plugins. qbzr.lib. tests.test_ log.TestLog. test_just_ show_log_ simple_ commit/ home/.bazaar/ qbzr.conf. 7129.garyvdm- desktop. di9b8xq1o1. tmp'
=======
ERROR: bzrlib.
-------
Traceback (most recent call last):
File "/home/
self.saveSize()
File "/home/
config.
File "/home/
self.
File "/usr/lib/
atomic_file = atomicfile.
File "/usr/lib/
self._fd = os.open(
OSError: [Errno 2] No such file or directory: '/tmp/testbzr-
------- ------- ------- ------- ------- ------- ------- ------- ------- -------
I'll have to take a look why after work today.