partial commits

jan janmar at iprimus.com.au
Fri May 6 08:49:27 BST 2005


I've almost got an interface for cherrypicking changes from the
working copy, I just need a way to do partial commits. I think the
best way to specify the changes will be with an annotated diff eg.

bzr commit "
## bzr annotated diff
##
## revision-id: working-copy
## comments:
##   Change hello.c and rename foo.c
## ....
##
## modified file
## path: src/hello.c
## ...
+++ src/hello.c
--- src/hello.c
0,0 at 1,1
 int main()
 {
+   hello();
 }

## ....
##
## renamed file
## path: src/foo.c
## new-path: src/bar.c
"


Any objections?

-- 
jan





More information about the bazaar mailing list