[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

patch to vc-svn.el to add destfile support to vc-svn-checkout

From: Jay Berkenbilt <ejb_at_ql.org>
Date: 2005-02-19 17:13:49 CET

The attached patch relative to vc-svn.el as distributed with
subversion 1.1.3 enhances the vc-svn-checkout function to allow
destfile to be specified. In particular, this enables C-x v ~ to work
as well as M-x ediff-revision with subversion files. Personally I
find these functions to be indispensible, so I hope you will consider
accepting this patch.

I sent this same patch last week but got no response. I am now
subscribe to the dev list. Could someone let me know if I'm going
about this the wrong way? I am not able to create an issue for this
for some reason; I'm going to post to the user list for help.

To create this patch, I basically ripped the code from vc-cvs.el and
changed the cvs command to the appropriate svn command. Although
there's no "-p" flag to svn update (as with cvs update), you can use
svn cat and get the same result. Note that my patch also includes an
update to the documentation string.

Personally, I would rather see this code ignore the condition of
editable being set instead of raising an error, but maybe there's a
good reason for the code doing that. My code explicitly ignores
editable when destfile is given. The result is just fine, and the
temporary buffer is still read-only even if the file isn't.

Thanks!

-- 
Jay Berkenbilt <ejb@ql.org>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

  • text/x-patch attachment: stored
Received on Sat Feb 19 17:15:08 2005

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.