[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: svn propedit with vc?
From: |
Dan Nicolaescu |
Subject: |
Re: svn propedit with vc? |
Date: |
Sat, 09 Oct 2010 11:07:43 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux) |
address@hidden writes:
> Dan Nicolaescu <address@hidden> writes:
>
>> address@hidden writes:
>>
>>> Would it be possible to support "svn propedit" with vc?
>>
>> What exactly would you want to do?
>> (I am familiar with VC, so I could help with that, but not familiar with
>> "svn propedit" at all...)
>
> Svn supports meta-information for files and directories. These can have
> all sorts of semantics, or user-defined.
>
> Basically a property behaves like a special type of file, or a commit
> message. I'm not proficient enough with VC to know exactly how it would
> fit in the existing infrastructure. I suppose many other SCM:s just
> store meta-data as plain files, like .gitignore or whatever.
>
> My concrete use-case is editing the svn:externals property, which is
> described here:
>
> http://svnbook.red-bean.com/en/1.0/ch07s03.html
>
> So, I do svn propedit svn:external ., and emacs pops up due to
> EDITOR=emacsclient. However, this isnt convenient when on a remote host,
> so I imagined VC could take care of this case remotely, just as with
> files.
Hard to say if this is what you want: it looks like psvn.el has some
code to deal with properties. Similar code could be added to
vc-svn.el and some menu entries could be added to Tools / VC
and vc-dir (for svn managed files/directories)