bugmonotone - Bugs: bug #7221, [NEED TEST] "monotone...

 
 
Show feedback again

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

bug #7221: [NEED TEST] "monotone cert" should not require its target be on a branch

Submitted by:  Nathaniel Smith <njs>
Submitted on:  Tue 13 Jan 2004 11:39:39 AM UTC  
 
Category: command line UISeverity: 1 - Wish
Item Group: incorrect behaviorStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open
mtn version --full: 

Mon 21 Feb 2005 11:48:21 PM UTC, comment #1:

This bug needs a (possibly XFAILed) test written.

Nathaniel Smith <njs>
Project Administrator
Tue 13 Jan 2004 11:39:39 AM UTC, original submission:

Just was trying to fix a little screw up in my local database, so I used sqlite to delete a branch cert from a version, and then tried to use monotone to add a new one back on.

~/src/monotone$ clean/monotone --db=monotone.db cert manifest d4ee branch 'net.venge.monotone'
monotone: expanded partial id 'd4ee' to 'd4ee560ee25663c18168c9750ad571e5fa3f1b5b'
monotone: misuse: no branch certs found for manifest d4ee560ee25663c18168c9750ad571e5fa3f1b5b, please provide a branch name

        • error return code 1
                    • errors detected; see standard output for details ***********

..well, yeah, it's not on a branch, that's the whole point...

Adding --branch=net.venge.monotone worked as a workaround, but it seems silly that "monotone cert" should fail in the absence of a branch cert.

Nathaniel Smith <njs>
Project Administrator

 

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 421 here (basic anti-spam test):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Mon 21 Feb 2005 11:48:21 PM UTCnjsSummary"monotone cert" should not require its target be on a branch=>[NEED TEST] "monotone cert" should not require its target be on a branch
Show feedback again

Back to the top


Powered by Savane 3.1-cleanup