From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.bugs Subject: bug#20637: incompatible, undocumented change to vc-working-revision Date: Sat, 09 Apr 2016 21:34:35 +0200 Message-ID: <874mbawp84.fsf@gmx.de> References: <6ok2vyzwf9.fsf@fencepost.gnu.org> <08f70cda-44be-0657-e50a-2b2c80d2c21c@yandex.ru> <87mvphnoei.fsf@gmx.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1460230514 19119 80.91.229.3 (9 Apr 2016 19:35:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Apr 2016 19:35:14 +0000 (UTC) Cc: 20637@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Apr 09 21:35:13 2016 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 1aoyf1-00063D-Km for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 21:35:11 +0200 Original-Received: from localhost ([::1]:32878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyf0-0006Wi-Ja for geb-bug-gnu-emacs@m.gmane.org; Sat, 09 Apr 2016 15:35:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyew-0006SU-IK for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 15:35:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aoyes-0002I4-Ur for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 15:35:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44044) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aoyes-0002Hz-Qn for bug-gnu-emacs@gnu.org; Sat, 09 Apr 2016 15:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1aoyer-0005ug-Vd; Sat, 09 Apr 2016 15:35:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Albinus Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, Dmitry Gutov Resent-Date: Sat, 09 Apr 2016 19:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20637 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20637-submit@debbugs.gnu.org id=B20637.146023048722707 (code B ref 20637); Sat, 09 Apr 2016 19:35:01 +0000 Original-Received: (at 20637) by debbugs.gnu.org; 9 Apr 2016 19:34:47 +0000 Original-Received: from localhost ([127.0.0.1]:56381 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyed-0005uB-9G for submit@debbugs.gnu.org; Sat, 09 Apr 2016 15:34:47 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:56753) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1aoyeb-0005tz-SC for 20637@debbugs.gnu.org; Sat, 09 Apr 2016 15:34:46 -0400 Original-Received: from detlef.gmx.de ([93.209.77.112]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MaV3V-1b41Sh2gRd-00KARQ; Sat, 09 Apr 2016 21:34:38 +0200 In-Reply-To: (Dmitry Gutov's message of "Fri, 1 Apr 2016 03:36:57 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:DG8+2/exqFNcO/MtLuMNPX9m+M0v3p3mMA0GfDlHjs67TsKOytT 82Za6m/9gRsHK2q693QFOc5rIMZWzlKb1HaTsAZm5dyYSAIWcGDcHuOvyc9yLqi7VtpeMgP YG9Rgbod2Hs0eAhFU1f94pzwnaz7SIK9gigARDIaRWm91nQ1DDqsKWOFIrHBVvoHxgmXjhC VFdO13cF0uyM0jsQ+pwdg== X-UI-Out-Filterresults: notjunk:1;V01:K0:MEAqyGDBm0U=:04R7c8UKvIR62KZ/JSKDbU rJnOEHeenFZURYhxvt/l5ED4zurzfsSw7gcMgPbHuzauCWGTFM8NmqR5HYaRkpOyeGytzMnmP ZNsbtsV1jHi0DEITORIw1kr53lzhNX4V5wSDpSXtGYRb7pzah8pAJnfLmNYl/SFfamB+wXm+X MSnEmxofUGbqa8pJZ1m+r9kijOF6w+A7SvwCNCiVgdbrLOmX1QImKn79Rp4DZOcdl3c7iQ0ui mbKYloVpohB9yOFAj7tsVw714Duyre9zQQxE4r79mY2JVsQS1o2uehiXw5TldLngX0sbq+Siq ZxeO7Dc0/Nd+GhT5txuazwtzEsZY33F/p1Wi3VjAZfrZx8+aSj7Hpqj4n5ZEGrfGu6r6nx422 wHgHeBZKM5TM6vQWXJRmIq06GVjYQz+Xm9MLaj23BhgcCooTFfMxaU84FNf/JywPe8rsTwpP2 8G/BUnINMhwqeCqWOptlzFYZovM4Z5KsncjGTt0wdYNQbqS3Hd+ZPrkb4WdWZH1vuA/rtIqSA S1HgNGMRBIN1B4knPVmLhKhonPnojbHlv6wfxnBjEzHwJ35qa4ji8CSTMG84czRKXiLUXXh81 /aEhEPL3xlID/0NoEEzlptxkJXjTMYUvkrfoBT+ct5jrL3NbNBYtnOERxJtJjIv0jJ4u/MhXW UBSOZ26zi5HWOKOYskQTteZTonMj23Nv+FnN+oU9tSc72GEhzLEwH8aiC9155k2Q5VfRre/gw rPRA3r1LSdchwvVa73X6MGs/r1cdX+BwrmWhE6RDIZVuVjG4nOjuw+/hp0xZQRl8r3bPAeL1 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.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" Xref: news.gmane.org gmane.emacs.bugs:116288 Archived-At: Dmitry Gutov writes: Hi Dmitry, you have written several things I would like to move for later discussion. I believe, we shall start again from the basics. I have extended vc-test-*01-register tests by calls to vc-backend and vc-responsible-backend. Mainly in order to understand how they work, but also for covering these functions. One problem I've found is that vc-file-*prop functions do not work well for relative file names; I've fixed this. With this fix, vc-test-src02-state failed. I've masked the test for future investigations; first I would like to make all vc-test-*01-register tests run proper. Several problems I have marked with FIXME in the working horse of those tests, vc-test--register: - For some backends (CVS, RCS and SVN), vc-backend returns the backend name for the newly created repo directory, and the directory is registered already. For the other backends, vc-backend returns nil as expected. Shouldn't this be consistent for all backends? - vc-backend accepts also a list of files, vc-responsible-backend doesn't. Is this right? - There is no common function vc-unregister, just some backend specific vc--unregister. Shouldn't vc-unregister exist? It should call common code, like vc-file-clearprops. For the time being, I have emulated this. Best regards, Michael.