Daniel,

Thank you very much for your reply. I understand about the selective
recording, though I hadn't thought of it as being like selective
check-in.

The difference, in my mind, from CVS or SVN is that after choosing not
to check a file in, presumably one then replaces it in one's local
work area with the standard, as-it-was-before copy -- that is, with a
copy identical to the one in the repository. Since I'm not a habitual
CVS or SVN user, I don't know how users of those systems customarily
restore that old version to their local working area.

But with darcs, it seems to me that reverting those changes, to get
back to the earlier unmodified version, would be the logical way to
go.

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.

So, if one does not record a patch, shouldn't one revert it instead?

Regards,

Ralph

On 10/25/06, Daniel Burrows <[EMAIL PROTECTED]> wrote:
On Fri, Oct 20, 2006 at 03:19:15PM -0400, Ralph Dratman <[EMAIL PROTECTED]> was 
heard to say:
> Hi. I'm very new to darcs and am trying to gain a basic understanding of it.
>
> I have a question. I'm confused about the option NOT to record a
> certain change. When recording, darcs offers me to record, or not
> record, several different changes which I've made since the last
> record command.

  If you've had experience with other version control systems (say,
CVS or Subversion), you know that those systems let you choose to
check in only some of the files that you've modified.  The changes
in the other files remain as a diff against the repository and can
be committed by a later check-in command.

  Recording only some of the changes from a file in darcs is exactly
analogous to only checking in some of the files that you've changed;
darcs just allows you to "check changes into the repository: at a much
finer level of granularity than CVS.  This is actually one of my
favorite darcs features, and I think you'll agree once you've used it
a few times.

  Daniel


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFPua/ch6xsM7kSXgRAvIEAKCV9Evzi6HxiR5cYnQDDCPbc/u64wCfard6
D0nsu2KbYca/p4emAL4rmnI=
=4ZX+
-----END PGP SIGNATURE-----




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

Reply via email to