bugmonotone - Bugs: bug #16636, Invariant triggered when moving a...

 
 

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

bug #16636: Invariant triggered when moving a versioned file into an unversioned dir

Submitter:  Timothy Brownawell <tbrownaw>
Submitted:  Sat 20 May 2006 09:37:31 PM UTC
   
 
Category:  working copy Severity:  3 - Normal
Item Group:  crash Status:  None
Privacy:  Public Assigned to:  rlevitte
Open/Closed:  Analyzed
mtn version --full: 

monotone 0.26 (base revision: a5b333d38063ed6f09a1294887666be3e3a78d67)
Running on          : Linux 2.6.15-22-686 #1 SMP PREEMPT Sun May 7 16:37:57 UTC 2006 i686
C++ compiler        : GNU C++ version 4.0.3 (Ubuntu 4.0.3-1ubuntu5)
C++ standard library: GNU libstdc++ version 20060309
Boost version       : 1_33_1
Changes since base revision:
format_version "1"

new_manifest [7364527a48705f6e76ccef1bdaa87c3c5cc650e5]

old_revision [a5b333d38063ed6f09a1294887666be3e3a78d67]


Sat 08 May 2010 06:37:26 PM UTC, comment #2: 

This operation works perfectly with mtn 0.47.  What happens is that the directory foo/ gets added to the workspace manifest as well.

My view on this: move to close, bug already fixed.

Richard Levitte <rlevitte>
Group administrator
  Spam posted by anonymous
Sat 20 May 2006 09:37:31 PM UTC, original submission:  

$ mkdir foo
$ touch bar
$ mtn add bar
mtn: adding bar to workspace manifest
$ mtn mv -e bar foo/
mtn: renaming bar to foo in workspace manifest
mtn: warning: destination foo already exists in workspace, skipping
$ mtn mv -e bar foo/bar
mtn: fatal: std::logic_error: ../src/roster.hh:128: invariant 'I(static_cast<bool>(d))' violated
mtn:
mtn: this is almost certainly a bug in monotone.
mtn: please send this error message, the output of 'mtn --full-version',
mtn: and a description of what you were doing to monotone-devel@nongnu.org.
mtn: wrote debugging log to /home/tbrownaw/src/test/_MTN/debug
mtn: if reporting a bug, please include this file



What should it do -- E(), or W() and add the dir?

Timothy Brownawell <tbrownaw>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #10020:  debug added by tbrownaw (2KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by rlevitte (Updated the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-08 rlevitte Open/ClosedOpen Analyzed
    2010-05-08 rlevitte Assigned toNone rlevitte
    2006-05-20 tbrownaw Attached File- Added debug, #10020

    Back to the top

    Powered by Savane 3.13-bb6a.
    Corresponding source code