Adding and reverting a file

Aaron Bentley aaron.bentley at utoronto.ca
Fri Oct 7 01:00:37 BST 2005


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

Michael Ellerman wrote:
> On Thu, 6 Oct 2005 22:24, Mark Rosenstand wrote:
> 
>>Adding and reverting a file will delete the file. I would expect the
>>file to just become unknown again. Is this a bug or a feature? :-)
> 
> 
> Do you mean adding and removing? I'm confused.

err, my bad.

Here are the steps:

abentley at lappy:~/lose$ bzr init
abentley at lappy:~/lose$ bzr commit -m unchanged --unchanged
abentley at lappy:~/lose$ echo "priceless data" > text
abentley at lappy:~/lose$ bzr add
added text
abentley at lappy:~/lose$ bzr revert
abentley at lappy:~/lose$ cat text
cat: text: No such file or directory
abentley at lappy:~/lose$
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDRbqk0F+nu1YWqI0RAgoSAJ4pdTk6383S5zWk73y5dnJ95/0cKACfXs+3
eaRtLWzKAHEBO5Jo7QYydQQ=
=XnUE
-----END PGP SIGNATURE-----




More information about the bazaar mailing list