bzr revert crashes after shelving a file add on a new repo.

Bug #363452 reported by Stavros Korokithakis
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Unassigned

Bug Description

This workflow crashes bzr:

bzr init
touch file
bzr add
bzr shelve --all
bzr revert

with bzr: ERROR: exceptions.TypeError: 'NoneType' object is unsubscriptable.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Can't be reproduced with bzr.dev:

class Test363452(script.TestCaseWithTransportAndScript):

    def test_bug_363452(self):
        self.run_script('''
$ bzr init
$ echo >file
$ bzr add
$ bzr shelve --all
$ bzr revert
''')
pass

Changed in bzr:
status: New → Fix Released
milestone: none → 2.1.0b1
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 363452] [NEW] bzr revert crashes after shelving a file add on a new repo.

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

What bzr version where you using Stavros? This should have been fixed in
either 1.18 or 2.0.0.

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

iEYEARECAAYFAkrFJNsACgkQ42zgmrPGrq7lcgCfeh8/O+lSY0GuGmOUkaIgARK9
u/4AoIsmocdWCFmgdhkZeQU5hLpA8Tkj
=CN+I
-----END PGP SIGNATURE-----

Revision history for this message
Stavros Korokithakis (stavrosk) wrote :

Oh, it must have been 1.6 at the time or so...

Revision history for this message
Robert Collins (lifeless) wrote :

Definitely already fixed ;)

Changed in bzr:
milestone: 2.1.0b1 → 1.18rc1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.