From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: AriT93 Newsgroups: gmane.emacs.bugs Subject: vc-svn.el and "the underscore hack" Date: Mon, 16 Oct 2006 08:20:59 -0500 Message-ID: <17715.34619.673000.454274@gargle.gargle.HOWL> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1161016438 13687 80.91.229.2 (16 Oct 2006 16:33:58 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 16 Oct 2006 16:33:58 +0000 (UTC) Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 16 18:33:55 2006 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GZVPC-0005HK-NX for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2006 18:33:35 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZVPB-0001uR-DQ for geb-bug-gnu-emacs@m.gmane.org; Mon, 16 Oct 2006 12:33:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GZSOt-0003sU-Nc for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2006 09:21:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GZSOq-0003o6-LC for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2006 09:21:03 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GZSOq-0003nj-B8 for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2006 09:21:00 -0400 Original-Received: from [138.87.130.210] (helo=syssrv30.ad.ilstu.edu) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GZSXy-0008Hm-6Q for bug-gnu-emacs@gnu.org; Mon, 16 Oct 2006 09:30:26 -0400 Original-Received: from SYS270307 ([138.87.130.16]) by syssrv30.ad.ilstu.edu with Microsoft SMTPSVC(6.0.3790.211); Mon, 16 Oct 2006 08:21:02 -0500 Original-To: bug-gnu-emacs@gnu.org X-Mailer: VM 7.19 under Emacs 22.0.50.1 X-OriginalArrivalTime: 16 Oct 2006 13:21:02.0833 (UTC) FILETIME=[ED8F8E10:01C6F125] X-Mailman-Approved-At: Mon, 16 Oct 2006 12:32:39 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:15374 Archived-At: This change may be trivial to others but as my elisp is not that strong I though I would submit this. On the windows platform subversion can be configured to create it's directories as "_svn" instead of the standard ".svn" I believe the reason for this was to ensure it worked with websites served by IIS. This setting causes problems with vc-svn on windows. vc-mode does not recognize these files as being under version control. To handle this I have just replaced ".svn" with "_svn" in vc-svn.el. So far I have not seen any negative side effects of making this change. However it occured to me that there should be a more effective way of handling this. In looking at the file it would seem that eiter a variable could be used to determine the name of the svn directory or an "or" statement could be used where if no ".svn" directory is found a "_svn" directory could be sought. As I said my elisp skills are pretty weak but I am trying to get the or statement to work. If I am able to get something working I will submit a patch. Ari -- enjoy every sandwich -- W. Zevon