~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to doc/partial-commit.txt

  • Committer: mbp at sourcefrog
  • Date: 2005-04-06 03:38:35 UTC
  • Revision ID: mbp@sourcefrog.net-20050406033835-0a8142f2ed51db26f3a3681c
- Use a non-null file_id for the branch root directory.  At the moment
  this is fixed; in the future it should be stored in the directory
  and perhaps be randomized at each branch init.  It is not written
  out to the inventory at all as yet.

- Various branch code cleanups to support this.

- If an exception occurs, log traceback into .bzr.log and print a
  message saying it's there.

- New file-id-path command and more help.

- Some pychecker fixups.

- InventoryEntry constructor parameters now require an entry kind and
  a parent_id.

- Fix up cat command when reading a file from a previous revision.

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'