[MERGE] Fix #52578 smart-add should recurse all dirs
John Arbash Meinel
john at arbash-meinel.com
Tue Jul 11 18:14:47 BST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The smart-add code had a small bug where we weren't recursing through
all the user supplied directories. It also had a small inefficiency
where it built up a list of dirs using FastPath, then threw that info
away, and built it up again later.
Anyway, the attached patch adds a test, and a fix.
It also cleans up some of the smart_add tests, which were creating a
'branch' reference, but never using it.
John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFEs9yHJdeBCYSNAAMRAp9jAJ9FuiU1GtNngcGa8D8iwC9eb8vm+QCfRDay
OoRDxJbMOWSQe7fpUXvc1bg=
=HtVE
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fix-smart-add.patch
Type: text/x-patch
Size: 8316 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060711/4c009d78/attachment.bin
More information about the bazaar
mailing list