[Top][All Lists]

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

Re: vc-update for bzr etc.

From: Stefan Monnier
Subject: Re: vc-update for bzr etc.
Date: Sun, 21 Nov 2010 14:03:42 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

> Thoughts?  Any subtleties here that I'm missing?

Here are some thoughts:

> Here's a quick stab at this.  If a backend defines vc-BACK-merge-news
> (svn and cvs), vc-update tries a per-file update unless a prefix
> argument is supplied.  Otherwise, it tries vc-BACK-update-repository, a
> new VC backend function.  Included is an implementation for bzr,

Better to just use the new backend function if present and fallback (or
provide a default implementation that delegates) to the old
backend function.

> +   "Update the current Bzr repository."

I have no idea what "Update the current Bzr repository" means.

> +       (vc-bzr-command "update" t 'async nil))))

This will not do what it says in non-bound branches.


reply via email to

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