On 01 Nov 2005 05:35:12 -0800, Robert Anderson wrote: > > A patch based rcs like arch would be far more useful if people actually > made logically distinct, clean patches with it. This is _much_ harder > than it should be. There's no tools for it. There really ought to be.
If everything goes well, one of the next archway versions will support this. There are actually 2 possible scenarios, both may be implemented. 1) Select individual files/hunks of tree changes and commit them. 2) Divide any given changeset into several changesets by files/hunks. With archway, it looks like this. 1) On the command line, type "archelf" to get a tree browser similar to: http://www.nongnu.org/archway/screenshots/full/archelf.png Then press "commit" button to be presented with the list of changes and the log message (as seen on other screenshots), then optionally select whole files or individual hunks for the commit. After commit, the tree includes all other (non-selected) changes. 2) On the command line, type "archeye ." to get a changeset viewer, like: http://www.nongnu.org/archway/screenshots/full/archeye.png Then assign numbers to different hunks of modified files, and the changesets named like ,,undo-1/, ,,undo-2/ and ,,undo-3/ will be created. Dividing to changesets should be done properly using existing classes Arch::DiffParser and Arch::Changeset, similarly to what Tom suggested, but without awk hacks. Regards, Mikhael. _______________________________________________ Gnu-arch-users mailing list Gnu-arch-users@gnu.org http://lists.gnu.org/mailman/listinfo/gnu-arch-users GNU arch home page: http://savannah.gnu.org/projects/gnu-arch/