lp:~vila/bzr-gtk/215674-uncommit-save-message
- Get this branch:
- bzr branch lp:~vila/bzr-gtk/215674-uncommit-save-message
Branch merges
Related bugs
Bug #215674: uncommit needs an option for saving commit messages | High | Fix Released |
Related blueprints
Branch information
Recent revisions
- 647. By Vincent Ladeuil
-
Implement commit message saving without modifying bzrlib.
* tests/test_
commit. py:
(TestSavedCommitMessages. setUp): Install the post_uncommit hook
for all relevant tests.
(TestUncommitHook.setUp) : Use explicit rev-ids to ease debugging. * commit.py:
Fix imports. Integrate SavedCommitMessagesManager so that we don't
need to modify bzrlib anymore.
(CommitDialog.__init_ _, CommitDialog. _fill_in_ files,
CommitDialog._construct_ global_ message, CommitDialog. _do_cancel,
CommitDialog._do_commit) : Stop testing can_save_ commit_ messages,
SavedCommitMessagesManager is always available now.
(SavedCommitMessagesManager) : Borrowed from Anne Mohsen's patch.
(save_commit_messages) : Implement the post_uncommit hook. * __init__.py:
Install a lazy hook. - 646. By Vincent Ladeuil
-
Fix a leaking dialog windows appearing during the test suite.
* tests/test_
commit. py:
(TestReusingSavedCommitMessage s._get_ commit_ dialog) : Ensure we
never prompt the user. - 645. By Vincent Ladeuil
-
Complete tests around saved commit messages.
* tests/test_
commit. py:
(QuestionHelpers): Factor out helpers for embedded dialogs.
(TestSavedCommitMessages) : Factor out helpers for saved commit
messages.
(TestReusingSavedCommitMessage s): Add tests for saved messages
reuse.* commit.py:
(CommitDialog._do_cancel) : Use the overidable dialog for tests
purposes. - 644. By Vincent Ladeuil
-
Tests completed for uncommit.
* tests/test_
commit. py:
(TestUncommitHook.setUp) : Factor out the setup.
(TestUncommitHook._get_ file_info_ dict,
TestUncommitHook._get_ file_info_ revprops,
TestUncommitHook._get_ commit_ message,
TestUncommitHook._get_ file_commit_ messages) : Add some helpers to
capture the relevant API.
(TestUncommitHook.test_ uncommit_ one_by_ one): Use the three commits
instead of two.
(TestUncommitHook.test_ uncommit_ all_at_ once): New test. - 643. By Vincent Ladeuil
-
Start testing patch behavior.
* tests/test_
commit. py:
(TestUncommitHook): Start capturing actual behavior with a bzr
patched with Anne's SavedCommitMessagesManager defined in bzrlib. * commit.py:
(CommitDialog._do_cancel) : Reduce duplication.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar RepositoryFormatKnitPack6RichRoot (bzr 1.9)
- Stacked on:
- lp:bzr-gtk/gtk2