bugmonotone - Bugs: bug #20447, mtn diff <filename> fails...

 
 

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

bug #20447: mtn diff <filename> fails inside of a renamed directory

Submitter:  Rob Schoening <robschoening>
Submitted:  Wed 11 Jul 2007 05:10:10 AM UTC
   
 
Category:  working copy Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  dscherger
Open/Closed:  Closed
mtn version --full: 

C:\dev\forta>mtn --full-version                                                
monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b)        
Running on          : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2)
on ia32 (level 6, rev 3846)                                                    
C++ compiler        : GNU C++ version 3.4.2 (mingw-special)                    
C++ standard library: GNU libstdc++ version 20040907                           
Boost version       : 1_33_1                                                   
Changes since base revision:                                                   
format_version "1"                                                             
                                                                               
new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e]                        
                                                                               
old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b]                        
                                                                               
patch "Makefile.am"                                                            
 from [ecc00e0b8e9b5350157a1922e430ade4508d31bd]                               
   to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35]                               

Sat 08 May 2010 09:36:20 PM UTC, comment #1: 

0.45 and 0.48dev fail less badly

$ mtn mv unix foobar
$ echo foobar >foobar/cputime.cc
$ mtn diff foobar/cputime.cc
mtn: misuse: file unix/cputime.cc does not exist

but something is still wrong here


Derek Scherger <dscherger>
Group Member
Wed 11 Jul 2007 05:10:10 AM UTC, original submission:  

"mtn diff" fails consistently with the following error:
                                         
mtn: fatal: std::logic_error: ../monotone-0.35/roster.cc:188: invariant 'fetching nonexistent entry from children' violated                                    
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 C:/dev/temp/test/_MTN/debug                        
mtn: if reporting a bug, please include this file       

Steps to reproduce on Windows & *nix:

1) Given a directory and file dir1/test.txt
2) mtn mv dir1 dir2
3) edit dir2/test.txt & change content
4) mtn diff dir2/test.txt

Note that (4) will not fail unless you perform both   
steps (2) and (3).

Note also that running "mtn diff" with no path 
argument works fine.

Note also that you are still able to commit
and after the changes are committed, the problem
goes away.

Rob Schoening <robschoening>

 

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

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dscherger (Posted a comment)
  • -email is unavailable- added by robschoening (Submitted 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 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-05-30 dscherger Open/ClosedIn Test Closed
        mtn version --fullC:\\dev\\forta&gt;mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version &quot;1&quot; new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch &quot;Makefile.am&quot; from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35] C:\dev\forta>mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version "1" new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch "Makefile.am" from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35]
    2010-05-16 dscherger mtn version --fullC:\\dev\\forta&gt;mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version &quot;1&quot; new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch &quot;Makefile.am&quot; from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35] C:\dev\forta>mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version "1" new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch "Makefile.am" from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35]
    2010-05-16 dscherger StatusNone Fixed
        Open/ClosedOpen In Test
    2010-05-08 dscherger Assigned toNone dscherger
        mtn version --fullC:\\dev\\forta&gt;mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version &quot;1&quot; new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch &quot;Makefile.am&quot; from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35] C:\dev\forta>mtn --full-version monotone 0.35 (base revision: f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b) Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2) on ia32 (level 6, rev 3846) C++ compiler : GNU C++ version 3.4.2 (mingw-special) C++ standard library: GNU libstdc++ version 20040907 Boost version : 1_33_1 Changes since base revision: format_version "1" new_manifest [33fa9f84dee6ec2e1bde81b607a067befbe2fc3e] old_revision [f92dd754bf5c1e6eddc9c462b8d68691cfeb7f8b] patch "Makefile.am" from [ecc00e0b8e9b5350157a1922e430ade4508d31bd] to [a52adc6a23a4bedf2d636a6c3e91cd46ce900a35]

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code