[RFC] Introduce kind change support

Aaron Bentley aaron.bentley at utoronto.ca
Sat Aug 26 22:06:01 BST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Ben Finney wrote:
> Howdy all,
> 
> [Please reply only to the discussion forum, I subscribe via NNTP.]
> 
> I keep the /etc of a few machines under VCS control. I'm trying to
> convert one from bazaar 1.x to bazaar 2.

I've established that this assertion is triggered by changing a symlink
to a plain file.

Bazaar does not officially support changing the kind of a file, but many
people think it would be a good idea, and it's required to support
import from all Baz archives.

So here's a patch that implements it for "commit".  Unfortunately, we
have many different codepaths for comparing files, so "status" will
still raise an exception.

1. Do we want to do this?
2. Can we unify our tree-comparison functionality across status, revert
and commit?

Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE8Le50F+nu1YWqI0RAsfXAJ4qr1IQqQk5KXgHe1WtbuF64O2rCACfabIY
ozXR0mmNGhlBfQJNLWxyEUU=
=HfGk
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: kind-changes.patch
Type: text/x-patch
Size: 4053 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20060826/08bd1a33/attachment.bin 


More information about the bazaar mailing list