Marius Kruger wrote:
> Public bug reported:
>
> bzr init
> echo "test" > someFile.txt
> bzr add someFile.txt
> bzr commit -m "initial commit"
> bzr diff -r-1 #doesn't show changes
> bzr diff -r0 #does show changes
>
> This was unexpected and I believe that they should behave the same
> if there is currently only one committed revision
- -1 represents the basis revision; the last thing you committed.
So if you have not modified the tree since the last commit, "bzr diff -r
- -1" will not show any changes.
Aaron
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Marius Kruger wrote:
> Public bug reported:
>
> bzr init
> echo "test" > someFile.txt
> bzr add someFile.txt
> bzr commit -m "initial commit"
> bzr diff -r-1 #doesn't show changes
> bzr diff -r0 #does show changes
>
> This was unexpected and I believe that they should behave the same
> if there is currently only one committed revision
- -1 represents the basis revision; the last thing you committed.
So if you have not modified the tree since the last commit, "bzr diff -r
- -1" will not show any changes.
Aaron enigmail. mozdev. org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://
iD8DBQFFiuQL0F+ nu1YWqI0RArwVAJ 0b2HE5lbQaF6RWF Os4OAhN9P0ROgCd HWfE yzKUtA/ 8=
sZP3/PW70GdsQIy
=SRsX
-----END PGP SIGNATURE-----