[PATCH] blackbox test for revert in subdir
John Arbash Meinel
john at arbash-meinel.com
Mon Jan 23 19:13:56 GMT 2006
Aaron Bentley wrote:
> Alexander Belchenko wrote:
>
>>>Martin Pool ?8H5B:
>>>
>>>
>>>>On 22 Jan 2006, Alexander Belchenko <bialix at ukr.net> wrote:
>>>>
>>>>
>>>>>Revert does not work for file in subdir if specified -r flag. Error
>>>>>raised:
>>>>
>>>>
>>>>Thanks for the report. This is
>>>>https://launchpad.net/products/bzr/+bug/29424
>>>
>>>
>>>Attached patch provide test case for revert in subdir bug.
>
>
> I'll raise you a test and a fix. :-)
>
> Aaron
It seems to me that the fix should be in builtins.internal_tree_files.
Since that code may be called from other commands.
It seems that it should look at WorkingTree.open_containing, and fix
relpath appropriately.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 256 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060123/aae79506/attachment.pgp
More information about the bazaar
mailing list