gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] into the ether again: wd factor


From: Mikhael Goikhman
Subject: Re: [Gnu-arch-users] into the ether again: wd factor
Date: Tue, 1 Nov 2005 21:27:11 +0000
User-agent: Mutt/1.4.2.1i

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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]