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

Submitter:  Hb <hbb>
Submitted:  Wed 16 Apr 2008 02:32:10 PM UTC
   
 
Category:  command line UI Severity:  3 - Normal
Item Group:  incorrect behavior Status:  Fixed
Privacy:  Public Assigned to:  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>
Group administrator
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>
Group 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>
Group administrator
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>
Group Member

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by tommyd (Posted a comment)
  • -email is unavailable- added by hbb (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2010-04-19 tommyd StatusNone Fixed
        Open/ClosedAccepted Closed
    2008-04-17 tommyd Item Groupfeature request incorrect behavior
        Assigned toNone tommyd
        Open/ClosedOpen Accepted

    Back to the top

    Powered by Savane 3.13-caa5.
    Corresponding source code