bugmonotone - Bugs: bug #29484, mtn rename hits an invariant for...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #29484: mtn rename hits an invariant for invalid moves

Submitted by:  Thomas Keller <tommyd>
Submitted on:  Thu 08 Apr 2010 10:16:19 PM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Richard Levitte <rlevitte>
Open/Closed: Closed
mtn version --full: 

monotone 0.47 (base revision: 58eca89fab6322a14c219fb377eae54e21311986)
Running on : Darwin 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386
C++ compiler : GNU C++ version 4.0.1 (Apple Inc. build 5490)
C++ standard library: GNU libstdc++ version 20050421
Boost version : 1_41
SQLite version : 3.6.20 (compiled against 3.6.20)
Lua version : Lua 5.1
PCRE version : 7.9 2009-04-11 (compiled against 7.9)
Botan version : 1.8.8 (compiled against 1.8.8)
Changes since base revision:
format_version "1"

new_manifest [69563b5f6cb9e1af6a87aebd6d672e721f646026]

old_revision [58eca89fab6322a14c219fb377eae54e21311986]

Generated from data cached in the distribution;
further changes may have been made.

Sun 04 Jul 2010 10:58:07 AM UTC, comment #2:

Subdir moves are now also detected and handled in 7b3a6be6ed783be2973ee26f5ecf9fd85d67a8af. Merged to mainline.

Thomas Keller <tommyd>
Project Administrator
Sat 08 May 2010 08:05:58 PM UTC, comment #1:

Added a few checks to see if a file to be moved is the same as the destination and have mtn issue a warning when that happens.

This follows the same semantics as ths usual Unix mv(1), and will therefore only warn, not trigger an error and therefore not generate a exit code other than 0.

Richard Levitte <rlevitte>
Project AdministratorIn charge of this item.
Thu 08 Apr 2010 10:16:19 PM UTC, original submission:

Steps to reproduce:

$ mtn mkdir foo
$ mtn ci -m test
$ mtn mv foo foo
mtn: skipping foo, already accounted for in workspace
mtn: fatal: error: roster.cc:723: I(child != nd->children.end())
mtn: this is almost certainly a bug in monotone. [...]

The same invariant is hit when a parent directory is tried to be moved in a child directory.

Thomas Keller <tommyd>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rlevitte (Updated the item)
  • -unavailable- added by tommyd (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Jul 2010 10:58:07 AM UTCtommydOpen/ClosedIn Test=>Closed
    Sat 08 May 2010 08:04:14 PM UTCrlevitteStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Sat 08 May 2010 06:54:44 PM UTCrlevitteAssigned toNone=>rlevitte

    Back to the top


    Powered by Savane 3.1-cleanup1