[darcs-devel] darcs patch: Slightly refactor unpull (make it an
ali... (and 1 more)
David Roundy
droundy at darcs.net
Tue Jul 31 16:14:06 PDT 2007
On Mon, Jul 30, 2007 at 09:23:25PM +0200, Tommy Pettersson wrote:
> On Mon, Jul 30, 2007 at 08:15:25PM +0200, Eric Kow wrote:
> > I'm not particularly keen on the second part of this patch. It was suggested
> > on #darcs, and I thought I'd float it for argument. Could go either way.
> >
> > Pro:
> > - reduces the number of commands (user's don't know the diff)
> > Con:
> > - we lose the 'pull' and 'unpull' symmetry
> >
> > Sat Jul 28 11:50:57 CEST 2007 Eric Kow <eric.kow at gmail.com>
> > * Slightly refactor unpull (make it an alias).
> >
> > Mon Jul 30 20:11:38 CEST 2007 Eric Kow <eric.kow at gmail.com>
> > * Hide darcs unpull command.
>
> There is an old idea to make Unpull safe (in contrast to
> Obliterate). Unpull would require one or more source repos as
> arguments, and refuse to ditch any patches that are not
> available in one of the source repos. This way you're safe from
> losing a patch completely. And it would be even more symetric to
> Pull this way.
And actually, unpull could grab the repos to check out of
_darcs/prefs/repos, which would make it even more symmetric. But I also
don't mind hiding it.
--
David Roundy
Department of Physics
Oregon State University
More information about the darcs-devel
mailing list