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