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

Submitted by:  Rob Schoening <robschoening>
Submitted on:  Wed 11 Jul 2007 05:10:10 AM UTC  
 
Category: working copySeverity: 3 - Normal
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Derek Scherger <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>
Project MemberIn charge of this item.
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>

 

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 dscherger (Posted a comment)
  • -unavailable- added by robschoening (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 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 30 May 2010 02:39:44 AM UTCdschergerOpen/ClosedIn Test=>Closed
      mtn version --fullC:\\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] =>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]
    Sun 16 May 2010 10:42:49 PM UTCdschergermtn version --fullC:\\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] =>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]
    Sun 16 May 2010 10:42:48 PM UTCdschergerStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Sat 08 May 2010 09:36:20 PM UTCdschergerAssigned toNone=>dscherger
      mtn version --fullC:\\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] =>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.1-cleanup1