[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Monotone-commits-diffs] Revision 0db915193923a54f43d91a67688e2fc4f86416
From: |
monotone |
Subject: |
[Monotone-commits-diffs] Revision 0db915193923a54f43d91a67688e2fc4f8641683 |
Date: |
Fri, 30 Apr 2010 14:27:28 +0200 |
-----------------------------------------------------------------
Revision: 0db915193923a54f43d91a67688e2fc4f8641683
Ancestor: b6507424bfd15a90bfb016aa0056a583e4923678
Author: address@hidden
Date: 2010-04-19 09.54.31
Branch: net.venge.monotone
Added files:
tests/keep_valid_workspace_options_on_error/__driver__.lua
Added directories:
tests/keep_valid_workspace_options_on_error
Modified files:
cmd_automate.cc monotone.cc network/automate_session.cc
work.cc work.hh
ChangeLog:
Its always good to write a test case before making such changes... in this case
commands which did not require a workspace (like f.e. db init), but which were
still executed in some workspace overwrote its (valid) options!
* work.hh/cc: new static boolean "used" which is set to true as soon as
require_workspace() is called somewhere; new method maybe_set_options() which
only saves the options back to _MTN/options when a workspace has been found
_and_ also has actually been used.
* cmd_automate.cc, monotone.cc, network/automate_session.cc: ... use everywhere
and reset the used flag before the execution of the next command
txtXpZMAgsr5X.txt
Description: Diff [b6507424bfd15a90bfb016aa0056a583e4923678] -> [0db915193923a54f43d91a67688e2fc4f8641683]
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Monotone-commits-diffs] Revision 0db915193923a54f43d91a67688e2fc4f8641683,
monotone <=