bzr crashed on commit after removing a directory of files

Bug #435000 reported by Tim Penhey
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
Confirmed
High
Unassigned

Bug Description

As part of my testing for Launchpad I needed to create a big diff.

Here is what I did:

bzr branch lp://staging/drizzle
cd drizzle
rm -r client
bzr commit
*boom*

Revision history for this message
Tim Penhey (thumper) wrote :
Revision history for this message
Tim Penhey (thumper) wrote :

it appears that the commit actually worked, but the working tree was left out of date.

tim@slacko:~/sandbox/bzr/drizzle$ bzr stat
working tree is out of date, run 'bzr update'
removed:
  client/
  client/client_priv.h
  client/drizzle.1
  client/drizzle.cc
  client/drizzled.8
  client/drizzledump.1
  client/drizzledump.cc
  client/drizzleimport.1
  client/drizzleimport.cc
  client/drizzleslap.1
  client/drizzleslap.cc
  client/drizzletest.cc
  client/errname.cc
  client/errname.h
  client/get_password.cc
  client/get_password.h
  client/linebuffer.cc
  client/linebuffer.h
tim@slacko:~/sandbox/bzr/drizzle$ bzr update
All changes applied successfully.
Updated to revision 1131.
tim@slacko:~/sandbox/bzr/drizzle$ bzr stat
tim@slacko:~/sandbox/bzr/drizzle$ cd client
bash: cd: client: No such file or directory
tim@slacko:~/sandbox/bzr/drizzle$ bzr ll
1131: Tim Penhey 2009-09-23 Big diff to test.
1130: Brian Aker 2009-09-21 [merge] Merge Jay
1129: Brian Aker 2009-09-18 [merge] Merge Jay
1128: Brian Aker 2009-09-16 [merge] Merge Jay Alter table + Brian dead code
1127: Brian Aker 2009-09-15 [merge] Merge Jay
1126: Brian Aker 2009-08-27 [merge] Merge Padraig
1125: Brian Aker 2009-08-25 [merge] MErge Jay
1124: Brian Aker 2009-08-24 [merge] Merge Monty
1123: Brian Aker 2009-08-24 [merge] Merge Brian
1122: Brian Aker 2009-08-21 [merge] Merge Jay

Changed in bzr:
status: New → Confirmed
importance: Undecided → High
Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 435000] Re: bzr crashed on commit after removing a directory of files

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

Robert Collins wrote:
> ** Changed in: bzr
> Status: New => Confirmed
>
> ** Changed in: bzr
> Importance: Undecided => High
>

I'll also note that my guess is that if you had done "bzr rm" after the
"rm -r" everything would have 'just worked' without a problem.

John
=:->

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

iEYEARECAAYFAkq5jvsACgkQJdeBCYSNAANr8QCeL8Hi4bjZaFMXcSLDrko5pHGR
aWIAnifKz3mP5edSXvy/xt+q0f1+xYEZ
=S7LF
-----END PGP SIGNATURE-----

Revision history for this message
Tim Penhey (thumper) wrote : Re: [Bug 435000] Re: bzr crashed on commit after removing a directoryof files

On Wed, 23 Sep 2009 14:59:07 John A Meinel wrote:
> Robert Collins wrote:
> > ** Changed in: bzr
> > Status: New => Confirmed
> >
> > ** Changed in: bzr
> > Importance: Undecided => High
>
> I'll also note that my guess is that if you had done "bzr rm" after the
> "rm -r" everything would have 'just worked' without a problem.

Nice to know. I wasn't sure how to simply recursively delete a directory
using the bzr client.

Revision history for this message
John A Meinel (jameinel) wrote : Re: [Bug 435000] Re: bzr crashed on commit after removing a directoryof files

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

Tim Penhey wrote:
> On Wed, 23 Sep 2009 14:59:07 John A Meinel wrote:
>> Robert Collins wrote:
>>> ** Changed in: bzr
>>> Status: New => Confirmed
>>>
>>> ** Changed in: bzr
>>> Importance: Undecided => High
>> I'll also note that my guess is that if you had done "bzr rm" after the
>> "rm -r" everything would have 'just worked' without a problem.
>
> Nice to know. I wasn't sure how to simply recursively delete a directory
> using the bzr client.
>

bzr rm directory

Works just fine here.

John
=:->

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

iEYEARECAAYFAkq5l+gACgkQJdeBCYSNAAMRRwCdEXrvVI6sWLdge6WZHu3oQxXQ
NL0An3+in5F70KPsAE071370//JtCthR
=aS7O
-----END PGP SIGNATURE-----

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.