bugmonotone - Bugs: bug #8535, [NEED TEST] monotone log has bad...

 
 

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

bug #8535: [NEED TEST] monotone log has bad defaults outside a working directory

Submitted by:  Nathaniel Smith <njs>
Submitted on:  Sun 11 Apr 2004 06:37:18 AM UTC  
 
Category: command line UISeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Stephen Leake <stephen_leake>
Open/Closed: Closed
mtn version --full: 

Sat 08 May 2010 07:25:37 PM UTC, comment #4:

For first time users it might still be cool to have -b foo resolving automatically to --from h:foo, no? And this should also reasonable easy to implement...

Thomas Keller <tommyd>
Project Administrator
Sat 08 May 2010 07:17:40 PM UTC, comment #3:

but this works nicely:

mtn --db ~/monotone-dbs/mtn.db log --from h:net.venge.monotone --last 5
mtn: expanding selection 'h:net.venge.monotone'
mtn: expanded to '3085ca18b6493371676bbd39d757ff29112404bc'
...

I think we can just close this one

Stephen Leake <stephen_leake>
Project MemberIn charge of this item.
Sat 08 May 2010 07:08:59 PM UTC, comment #2:

in 0.47, 'mtn log' outside a workspace gives:

mtn: misuse: workspace required but not found
mtn: misuse: try passing a --from revision to start at

This is also annoying:
mtn --db ~/monotone-dbs/mtn.db log --branch net.venge.monotone --last 5
mtn: option error: unknown option 'branch'

Stephen Leake <stephen_leake>
Project MemberIn charge of this item.
Mon 21 Feb 2005 11:52:04 PM UTC, comment #1:

This bug needs a (possibly XFAILed) test written.

Nathaniel Smith <njs>
Project Member
Sun 11 Apr 2004 06:37:18 AM UTC, original submission:

"monotone log" with no further arguments, outside of a working directory, will default to listing the history of the empty manifest. This is counterintuitive and totally useless.

Rather, if --branch is provided, log should start with the head of that branch. If there are multiple heads, I'm not sure what the correct behaviour is -- probably it should either
-- log all heads
-- log all heads but print a warning that it is doing so
-- error out, listing the available heads and requesting
the user pick one.

If --branch is not provided, log should give an error message requesting that the user provide either a branch or a manifest id.

Nathaniel Smith <njs>
Project Member

 

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 tommyd (Posted a comment)
  • -unavailable- added by stephen_leake (Posted a comment)
  •  

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 10 May 2010 11:07:56 AM UTCstephen_leakeOpen/ClosedIn Test=>Closed
    Sat 08 May 2010 07:17:40 PM UTCstephen_leakeStatusNone=>Fixed
      Open/ClosedOpen=>In Test
    Sat 08 May 2010 07:08:59 PM UTCstephen_leakeAssigned toNone=>stephen_leake
    Mon 21 Feb 2005 11:52:04 PM UTCnjsSummarymonotone log has bad defaults outside a working directory=>[NEED TEST] monotone log has bad defaults outside a working directory

    Back to the top


    Powered by Savane 3.1-cleanup1