And so says Matthieu MOY on 22/08/05 21:39...
> darcs has finer grain than this. You can commit just a hunk for a file,
> i.e. if the diff is
> 
> @@...@@
>  foo
> -bar
> +baz
>  foobar
> @@...@@
>  XXX
> -YYY
>  ZZZ
> 
> you can commit only the "-YYY" if you whish.

IMHO, hunk-level granularity for commits is a serious mistake.

Since you're committing a version of the code that you never actually
had on your machine, you can't possibly have tested it.

I think it encourages errors.

> With tla/baz, you can do it only by making a temporary copy of the working
> directory, undoing the unwanted changes (with something like ediff for
> example), commit-ing in the temporary copy and updating (merge --three-way
> to avoid conflicts) in the other one. That's fine if you do this
> occasionnaly, but not acceptable if you have to do it regularly.

But it's the right way to do it.  Bzr makes it much easier, with
"disposable" branches.

best,
                                               Lalo Martins
--
      So many of our dreams at first seem impossible,
       then they seem improbable, and then, when we
       summon the will, they soon become inevitable.
--
http://www.exoweb.net/                  mailto:[EMAIL PROTECTED]
GNU: never give up freedom                 http://www.gnu.org/



_______________________________________________
Gnu-arch-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnu-arch-users

GNU arch home page:
http://savannah.gnu.org/projects/gnu-arch/

Reply via email to