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

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

[Gnu-arch-users] Re: Future of GNU Arch, bazaar and bazaar-ng ... ?


From: Lalo Martins
Subject: [Gnu-arch-users] Re: Future of GNU Arch, bazaar and bazaar-ng ... ?
Date: Tue, 23 Aug 2005 08:45:07 +0800
User-agent: Mozilla Thunderbird 1.0.2 (X11/20050404)

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:address@hidden
GNU: never give up freedom                 http://www.gnu.org/





reply via email to

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