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

Re: Versioning of special files

From: Ross Mark <rossm_at_controllingedge.com.au>
Date: 2004-11-01 03:15:40 CET

Andrea Carpani wrote:

>Il lun, 2004-10-25 alle 17:01, Josh Pieper ha scritto:
>
>
>
>>I know there is a wrapper script, 'asvn' that will allow you to
>>version pretty much any special file and maintain file/directory
>>permissions as well. Hunt around the mailing lists or the bot on #svn
>>knows about it.
>>
>>
>
>I've tried asvn, but I can't figure how to import my project as I get a
>handful of
>
>svn: 'bin' is not a working copy
>
>errors. I suppose I have to import the directories and then add the
>special files afterwards: but this could become a long and tedious task.
>
>Here's a related question: is there some way to add a local hook to the
>import/commit/checkout transactions? I could just "tar" some
>directories and put the tar in the repository...
>
>
>
>
Since I wrote asvn I'll be the first to admit it is not the most
intelligent. It makes a few basic assumptions the main one being that
every file/directory in the working copy is under svn control.

asvn is a wrapper that only operates on checkin, checkout, switch and
update for any other svn command like import the wrapper does nothing.
If you are trying to import a project and want to store the symlinks and
devices you need to use the techniques described for an "In place
import" http://subversion.tigris.org/project_faq.html#in-place-import.
svn add your normal files and use "asvn" to do the checkin. during the
checkin phase asvn will scan the working copy for the devices and
symlinks that are not currently listed in its property files. It will
also check file permissions and owner/group properties for each file and
directory.

I'm hoping to get some free time in a month or so to revisit asvn and
clean it up a bit as it does have a problem with spaces in filenames
plus with the 1.1 release of svn including support for symlinks it is
not needed in asvn.

Cheers

Ross

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Nov 1 03:15:56 2004

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.