bugmonotone - Bugs: bug #17171, diff -r <id1> -r<id2>...

 
 

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

bug #17171: diff -r <id1> -r<id2> in different branches fails with unknown path misuse

Submitted by:  None
Submitted on:  Fri 21 Jul 2006 02:45:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Invalid
Privacy: PublicAssigned to: None
Open/Closed: Closed
mtn version --full: 

$ mtn --full-version
monotone 0.27 (base revision: 341e4a18c594cec49896fa97bd4e74de7bee5827)
Running on : Darwin 8.7.0 Darwin Kernel Version 8.7.0: Fri May 26 15:20:53 PDT 2006; root:xnu-792.6.76.obj~1/RELEASE_PPC Power Macintosh
C++ compiler : GNU C++ version 4.0.1 (Apple Computer, Inc. build 5341)
C++ standard library: GNU libstdc++ version 20050421
Boost version : 1_33
Changes since base revision:
format_version "1"

new_manifest [8e9ac81ef37aa9c0334b97d46467a8ee61450078]

old_revision [341e4a18c594cec49896fa97bd4e74de7bee5827]

Sat 22 Jul 2006 05:14:01 AM UTC, comment #2:

As Graydon says.

You'd do better to say
$ mtn diff -r h:com.xaraya.core -r h:com.xaraya.core.2.x
anyway, btw :-).

In case you were thinking that this was an example of the bug reported on the mailing list a few days ago, where actually diffing those two heads does fail with errors about "restrictions", that bug has also been fixed in current mainline, and the fix will be in 0.28.

Nathaniel Smith <njs>
Project Member
Fri 21 Jul 2006 04:53:44 PM UTC, comment #1:

The command you issued includes only one -r flag, not two. The second term you give it -- `mtn automate heads com.xaraya.core.2.x` -- it interpreted as a filename in the current directory: html/23d5f2f66187cc8756ac7ab88a2b23477018e589. Since it doesn't know about any such file, it complains.

graydon hoare <graydon>
Project Member
Fri 21 Jul 2006 02:45:47 PM UTC, original submission:

$ mtn diff -r `mtn automate heads com.xaraya.core` `mtn automate heads com.xaraya.core.2.x`
mtn: warning: unknown path included html/23d5f2f66187cc8756ac7ab88a2b23477018e589
mtn: misuse: 1 unknown paths

[ xaraya core.db to reproduce ]

Anonymous

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sat 22 Jul 2006 05:14:01 AM UTCnjsStatusNone=>Invalid
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1