bzr crash while trying to revert
Aaron Bentley
aaron.bentley at utoronto.ca
Thu Nov 22 00:41:59 GMT 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hugh Secker-Walker wrote:
> I had temporarily renamed a directory from 'liveaudio' to 'liveaudiox'
> (using 'mv liveaudio liveaudiox', just to test some project build
> issues). And then, while the directory was still temporarily renamed, I
> committed some changes I'd made to code elsewhere. Bzr decided I
> intended to delete the liveaudio directory. So, as part of the commit,
> bzr deleted that directory from my repository. (I think this is a
> mis-feature that bzr would remove something from the repository without
> me having said 'bzr delete', but that's not what this message is about.)
If you commit with --strict, bzr will error out because it doesn't know
about liveaudiox. You can turn --strict on permanently with an alias.
There has also been plenty of discussion about changing the auto-delete
behavior, but I personally like it. After all, if you delete something
by accident, you can always get it back with revert...
> I've been trying to bring back the directory that bzr deleted. If I try
> to bring back one file, I get the following crash.
Okay, I can reproduce the problem, and I'll see about fixing it.
Meanwhile, you can restore the entire directory using "bzr revert -v
cpp/liveaudio/audio.h -r 59"
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFHRNBW0F+nu1YWqI0RAppxAKCILurMeP5QRiqwbRQ27lZHfQxzlACfXz+0
J6l1MT8kNF6LyruJg+XL4Nc=
=W8Rs
-----END PGP SIGNATURE-----
More information about the bazaar
mailing list