/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to doc/partial-commit.txt

  • Committer: Vincent Ladeuil
  • Date: 2009-05-08 13:39:32 UTC
  • mto: (4343.1.1 integration)
  • mto: This revision was merged to the branch mainline in revision 4344.
  • Revision ID: v.ladeuil+lp@free.fr-20090508133932-4fbx4z8fvraeyjdy
Fixed as per John's and Markus reviews.

* bzrlib/tests/blackbox/test_push.py:
(TestPush.test_push_with_revisionspec): Fix wrong run_bzr_error
call. Additionnally the error regexp was wrong !

* bzrlib/tests/blackbox/test_ls.py:
(TestLS.test_ls_path, TestLS.test_kinds): Fix wrong run_bzr_error
calls.

* bzrlib/tests/__init__.py:
(TestCase.run_bzr): Add a check to catch errors in error_regexes
usage where people use a a string that it then iterated char by
char for matching (which is most certainly not the intent of the
test writer).

* bzrlib/tests/blackbox/test_log.py:
Fix run_bzr_error calls. Fix some white spaces issues (some
expected strings were using TABs and were wrongly caught by
test_coding_style(), but fixing the strings wasn't really a
problem either.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Partial commit
2
 
**************
3
 
 
4
 
In the first cut, commit covers the whole tree.
5
 
 
6
 
Secondly, people might want to commit only particular files or
7
 
subdirectories.  Semantics of this in the case of renames/adds/deletes
8
 
may be a bit complex, but I think it can be done.  The basic point is
9
 
to build an inventory which includes only the specified changes from
10
 
the working copy. 
11
 
 
12
 
Beyond that, it can be very nice in darcs to commit only selected
13
 
changes to a file.  I think this should not be the default though;
14
 
perhaps only do it with ``-i``.  Even better (for some users) kick off
15
 
a graphical tool to select the particular regions.  Beyond a certain
16
 
point it may become easier for the user to explicitly set aside some
17
 
changes and commit others first.
18
 
 
19
 
In any case, it is a good idea to run a test suite on the revision to
20
 
be committed, to make sure there were no missed dependencies.
 
 
b'\\ No newline at end of file'