[plugin] add-from
John Arbash Meinel
john at arbash-meinel.com
Tue Mar 14 03:34:03 GMT 2006
I just created a simple plugin for my use, and maybe other people will
find it useful too.
I'm manually reconciling 2 bzr branches, because they were lossy
conversions from other systems. (It was a project which used both CVS &
Arch).
Anyway, I needed a way to copy files from one tree to the other, and I
really didn't want to have a new file-id.
So I wrote the plugin here:
http://bzr.arbash-meinel.com/plugins/add_from/
It is basically just a wrapper around 'bzr add', which when it tries to
add a new file, it will look in another branch for a file-id.
I suppose 'bzr add' could have also been modified with something like
'--file-ids-from'. But this is a quick hack-around.
It works for what I needed it for.
John
=:->
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060313/fd37a790/attachment.pgp
More information about the bazaar
mailing list