From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#12001: 24.1.50; vc-diff always talks to CVS repository Date: Tue, 21 Aug 2012 05:52:09 +0300 Message-ID: <83vcgdardy.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1345517574 23145 80.91.229.3 (21 Aug 2012 02:52:54 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 21 Aug 2012 02:52:54 +0000 (UTC) Cc: schwab@linux-m68k.org, 12001@debbugs.gnu.org To: rms@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Aug 21 04:52:53 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T3eaI-0000Ps-KA for geb-bug-gnu-emacs@m.gmane.org; Tue, 21 Aug 2012 04:52:50 +0200 Original-Received: from localhost ([::1]:40920 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3eaH-0006xx-AU for geb-bug-gnu-emacs@m.gmane.org; Mon, 20 Aug 2012 22:52:49 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:51468) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3eaE-0006xr-Sj for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 22:52:47 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T3eaD-0006CO-NF for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 22:52:46 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:59423) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T3eaD-0006CK-K2 for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 22:52:45 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1T3eaT-0003DN-QO for bug-gnu-emacs@gnu.org; Mon, 20 Aug 2012 22:53:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 21 Aug 2012 02:53:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 12001 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 12001-submit@debbugs.gnu.org id=B12001.134551754712316 (code B ref 12001); Tue, 21 Aug 2012 02:53:01 +0000 Original-Received: (at 12001) by debbugs.gnu.org; 21 Aug 2012 02:52:27 +0000 Original-Received: from localhost ([127.0.0.1]:40735 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3eZv-0003Cb-2W for submit@debbugs.gnu.org; Mon, 20 Aug 2012 22:52:27 -0400 Original-Received: from mtaout23.012.net.il ([80.179.55.175]:48330) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1T3eZs-0003CQ-Hc for 12001@debbugs.gnu.org; Mon, 20 Aug 2012 22:52:26 -0400 Original-Received: from conversion-daemon.a-mtaout23.012.net.il by a-mtaout23.012.net.il (HyperSendmail v2007.08) id <0M9300D003XI5A00@a-mtaout23.012.net.il> for 12001@debbugs.gnu.org; Tue, 21 Aug 2012 05:52:06 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by a-mtaout23.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M9300COG3YTX960@a-mtaout23.012.net.il>; Tue, 21 Aug 2012 05:52:06 +0300 (IDT) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:63334 Archived-At: > Date: Mon, 20 Aug 2012 22:20:26 -0400 > From: Richard Stallman > Cc: 12001@debbugs.gnu.org > > make-version-backups-p only returns non-nil for VCS that don't have the > original version locally. > > > Indeed, vc-bzr-make-version-backups-p is not defined. > > Should it be? > > No VCS other than CVS should need it. > > I am using bzr, and apparently bzr needs this, > because vc-diff DOES NOT find the unmodified version > except by connecting to the server. > > So either there is some other bug, > or vc-bzr-make-version-backups-p ought to be defined. Since bzr has all the history of the versions locally, in the shape of branch meta-data, you can easily recover any previous version of any file without resorting to backup files. For example, this puts the last version of xdisp.c on a separate file: bzr cat -r -1 src/xdisp.c > src/xdisp.c.previous Or, you want to overwrite the modified file with its last unmodified version: bzr revert src/xdisp.c (You can also use revision numbers older than -1, the last one, and use the -r argument to "bzr revert", to recover versions older than the last one.) For this reason, no backup files are created in a bzr repository, since doing so just wastes disk space. CVS is different, because it does not store history locally, it must go to the server for the equivalents of the above operations, which requires you and the server to be on-line. So with CVS, storing local backups does have its merit.