[Top][All Lists]

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

Re: vc-status vs pcl-cvs

From: Stefan Monnier
Subject: Re: vc-status vs pcl-cvs
Date: Thu, 05 Jun 2008 00:36:15 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> Which is indeed all the info you'll ever get from all other VCSes.
>> Their `vc-dir' command will never tell you "needs-update" either.

> But the state those backends show in vc-dir is accurate, and you can
> just check things in without a problem.

Not necessarily.  With Bazaar, if you do a "checkout"
(i.e. a bound-branch: your local branch is bound to some other branch;
commits go to both places), then bzr commit may fail if you haven't
first updated your local branch to the latest revision on the
upstream branch.

Of course, with CVS the problem is also present if you use cvs-status:
the returned state may be "accurate" when you receive it, but it can
change before you do the commit.

> If things go the way you are proposing, how do you get the up to date
> state so you can actually check in your changes?  Another command?

Yes, a command we absolutely need anyway: vc-pull.


reply via email to

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