bzr uncommit: ERROR: exceptions.IndexError: pop from empty list

John Arbash Meinel john at arbash-meinel.com
Thu Nov 1 17:42:27 GMT 2007


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

info wrote:
> Hi
> 
> I just started using bzr on my suse 9.3
> I got an error by doing the following:
> 
> a) add file ./myconfig
> b) bzr commit
> c) change file ./myconfig
> d) bzr diff myconfig
> e) bzr uncommit
> 
> Error message see below.
> Thanks for your help on this.
> Mike
> 
> 
> sah at apus:~/tmp> bzr diff myconfig
> === added file 'myconfig'
> --- myconfig    1970-01-01 00:00:00 +0000
> +++ myconfig    2007-11-01 16:48:49 +0000
> @@ -0,0 +1,8 @@
> +a
> +b
> +c
> +d
> +
> +
> +last entry
> +agin last entry
> 


- From the looks of it, you didn't actually do the "bzr commit". The above diff
is for a newly added file "=== added file 'myconfig'"

And while you shouldn't get the traceback, the bug is that "bzr uncommit" with
no history is failing. We should instead be giving you a "Nothing to Uncommit"
message.


> sah at apus:~/tmp> bzr uncommit
> The above revision(s) will be removed.
> Are you sure [y/N]? y

^- See here, there are no revisions listed.

John
=:->
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHKhADJdeBCYSNAAMRAqXXAKDJAABaZKKtapi70j33TL96rh09mgCgyhu9
iAuf7qtsnSMjCppMNHMKFmI=
=3LZI
-----END PGP SIGNATURE-----



More information about the bazaar mailing list