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

Re: Add a file directly to repository

From: Talden <talden_at_gmail.com>
Date: Mon, 7 Dec 2009 16:06:35 +1300

On Tue, Dec 1, 2009 at 3:08 AM, Vadym Chepkov <chepkov_at_yahoo.com> wrote:
>>
>> You can try to checkout empty directory, then add the relevant file and
>> commit.
>>
>
> I know I can, I asked if  there is a shortcut to avoid it.
> I am a  system administrator and I use subversion to manage scripts I wrote for maintenance. It would be very convenient on my part to just issue something like this:
> svn add /usr/local/sbin/spamd.watch http://svn/repo/sbin/

Coming to the discussion a little delayed but...

...There is a Subverison client tool that is often not built and
distributed along with the other client binaries.

svnmucc (SVN Multiple Url Command Client).

This tool lets you put a file on the server directly and is compiled
and distributed as part of (at least) SlikSVN.

$ svnmucc put /usr/local/sbin/spamd.watch
http://svn/repo/sbin/spamd.watch -m "doing stuff"

That will add it if it's missing and modify it if it already exists.

You can do some quite complex tree restructures that just don't work
with a checkout.

--
Talden
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2427698
Please start new threads on the <users_at_subversion.apache.org> mailing list.
To subscribe to the new list, send an empty e-mail to <users-subscribe_at_subversion.apache.org>.
Received on 2009-12-07 04:07:36 CET

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

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