bugmonotone - Bugs: bug #22928, Database Options changed to bad...

 
 

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

bug #22928: Database Options changed to bad data

Submitted by:  Hb <hbb>
Submitted on:  Wed 16 Apr 2008 02:32:10 PM UTC  
 
Category: command line UISeverity: 3 - Normal
Item Group: incorrect behaviorStatus: Fixed
Privacy: PublicAssigned to: Thomas Keller <tommyd>
Open/Closed: Closed
mtn version --full: 

monotone 0.39 (base revision: dedb7e96fe917e0e8a30862b38e8092eefd7afa3)
Running on : Windows NT/2000/XP/2003 (5.1, build 2600, Service Pack 2)
on ia32 (level 15, rev 516)
C++ compiler : GNU C++ version 3.4.5 (mingw special)
C++ standard library: GNU libstdc++ version 20051201
Boost version : 1_34_1
Changes since base revision:
format_version "1"

new_manifest [0fcbb0ac9e81ed63e9594ffb2807ece15035b31a]

old_revision [dedb7e96fe917e0e8a30862b38e8092eefd7afa3]

patch "win32/monotone.iss"
from [fe681cbaf7a90c2b7d01a5f529a975bc062ae04e]
to [35a5602603ccd6435f5ca667fa6824d7c5ef5def]

Mon 19 Apr 2010 09:54:01 AM UTC, comment #3:

From revision 0db915193923a54f43d91a67688e2fc4f8641683 onwards options are now only saved to _MTN/options when the command execution was successful. Since "iffs" doesn't point to a valid database and the program aborts here, _MTN/options now keeps unchanged.

Thomas Keller <tommyd>
Project AdministratorIn charge of this item.
Thu 17 Apr 2008 07:17:05 AM UTC, comment #2:

Thanks for the quick fix. The "-diffs" was typed by error, I see no need to implement this as short option.

Hb <hbb>
Project Member
Thu 17 Apr 2008 12:56:29 AM UTC, comment #1:

This is fixed in eb63d4539a1f2727303253bd642a258a1f7d0138 insofar invalid database and keydir options are no longer written to _MTN/options, however, the "short option form" -diffs is not handled as a synonym for "--diffs" - I guess we won't change that.

Thomas Keller <tommyd>
Project AdministratorIn charge of this item.
Wed 16 Apr 2008 02:32:10 PM UTC, original submission:

When doing "mtn log . --diffs" everything works fine.

But when typing in only "mtn log . -diffs" the database setting in the _MTN/options file is trashed. The path of the current directory was written there.

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

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 19 Apr 2010 09:54:01 AM UTCtommydStatusNone=>Fixed
      Open/ClosedAccepted=>Closed
    Thu 17 Apr 2008 12:56:29 AM UTCtommydItem Groupfeature request=>incorrect behavior
      Assigned toNone=>tommyd
      Open/ClosedOpen=>Accepted

    Back to the top


    Powered by Savane 3.1-cleanup1