On Thu, Oct 26, 2006 at 12:38:33PM -0400, Ralph Dratman wrote:
> 
> If we neither record a change NOR revert it, then my "repository" (the
> set of patches stored by darcs) is no longer identical with my working
> files.

I have been using darcs for a couple of years, but not much at all
recently, due to work changes.  But recording only some changes in a
file is one of darcs' great features.

Suppose you have been working on some changes for a while, a week or
two, and have made many changes to many files, and you get a quick
feature request or bug report which is extremely easy to do, just a
line or two, and that change is in a part of the code that you haven't
changed in your current project.  You can edit that one change in that
one file, record just that one file, and answer N to all patches
except the simple side patch.  That patch will be the only one
recorded, and now you can go back to your current project.  You didn't
have to check out a temporary copy of the repository, edit it for the
one change, commit that, and erase the temporary repository copy.

It may seem a rather esoteric feature of darcs.  But the darcs way
takes just seconds -- one command, a few N, one Y, and done.  The
other way requires a full checkout and erase after.  These trivial
little changes are a breeze with darcs, so minor and easy that you can
do them in literally seconds and get back to your current project
without interrupting your train of thought.  The other way, you have
to stop thinking, checkout, commit, erase, and maybe it only takes 5
ot 10 minutes, but you know it will interrupt you and you put it off.
I have found that the darcs way makes it so easy that I almost look
forward to such trivial interruptions.

-- 
            ... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
     Felix Finch: scarecrow repairman & rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o

_______________________________________________
darcs-users mailing list
[email protected]
http://www.abridgegame.org/mailman/listinfo/darcs-users

Reply via email to