Maurí­cio wrote:

>>>> Hi,
>>>>
>>>> Is  it possible to pull all patches from a
>>>> repository, but without applying them to the
>>>> current code, so that all diferences between
>>>> my files and the composition of patches would
>>>> be marked as changes?
> 
>>> There is no single command to do that. Doing what you say would not be
>>> doable, since you might end up with an unappliable pending.  (...)
> 
> I could actually copy all files, revert, pull, then
> copy files back. Isn't that good enough to avoid some
> simple conflict situations? I think it could be a
> nice option to darcs pull.
> 
Yes, that's more or less the idea. The thing is, if you've used commands
like darcs add, darcs mv or darcs replace and you hanven't recorded yet,
you will lose that information. Hence, we don't have it as a flag, as it
would be a half-broken flag. That's why i would advise you to either use
diff between the two repositories, or use record.

Remember that darcs commutation is nearly magic, but that you need not to be
afraid of creating repositories. So after a good night's sleep (sorry if I
have been unclear in yesterday's messages), the reasonable solution is to
use get to make a local copy of the remote repo, record your changes, then
pull them into your copy of the remote repo and do darcs changes. (And look
at conflicts).

Maybe we need to make it clear in the manual that with a global cache,
having a lot of repos living for a short time in /tmp is actually a
reasonable thing.

Florent

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

Reply via email to