[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: Thomas Harold <thomas-lists_at_nybeta.com>
Date: Mon, 30 Nov 2009 09:33:31 -0500

On 11/30/2009 9:08 AM, Vadym Chepkov 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/
>

You may want to look into FSVS instead, which is a useful front-end for
that sort of thing. (http://fsvs.tigris.org - not associated with the
Subversion project)

I use FSVS on all of the servers that I manage and it lets us keep track
of all changes made to the server. Storing the results in an SVN
repository on the back end. Once you've configured everything (not too
terribly hard), keeping track of a change becomes as simple as:

fsvs ci -m "adjusted spamd watch" /usr/local/sbin

Which would pickup any files that changed in /usr/local/sbin.

If I need to track something down, I have read-only access (not a
requirement, just my preference) to the SVN repository on my laptop.
Where I can checkout, diff, view the history using TortoiseSVN.

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2425504

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-11-30 15:34:27 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.