[darcs-devel] [issue2483] http://hub.darcs.net/darcs/darcs-wiki is not a true mirror: it has extra (spam?) patches

Ivan Zakharyaschev bugs at darcs.net
Wed Dec 23 17:53:42 UTC 2015


Ivan Zakharyaschev <imz at altlinux.org> added the comment:

So, the correct way to pull someone's changes for the wiki from
hub.darcs.net would be to pull only the complement of his repo to the
mirror repo.

Example -- how not to pull the extra (spam) changes from a fork (imz's one):

[imz at ovicaa darcs-wiki2]$ darcs pull --complement
http://hub.darcs.net/imz/darcs-wiki
http://hub.darcs.net/darcs/darcs-wiki --dry-run
Would pull the following changes:
patch c6ee1c26ddc1fcbb6b6ddded99ade9a773bfea98
Author: Ivan Zakharyaschev <imz at altlinux.org>
Date:   Wed Jun 19 01:51:50 MSK 2013
  * tip: Invoking Emacs functions as external merge/diff tools.
  
  Preparing the args for an Emacs function in a shell script (as it is
done in the manual) is ugly. Here I show how do it with Elisp code.

patch 66383b0cb4abec8770687c00c1e8bd7c6dbc709f
Author: Ivan Zakharyaschev <imz at altlinux.org>
Date:   Wed Dec 23 20:40:28 MSK 2015
  * minor: correct formatting of code

Making no changes: this is a dry run.
[imz at ovicaa darcs-wiki2]$

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue2483>
__________________________________


More information about the darcs-devel mailing list