Discussions  >  CollabNet Subversion Client  >  Re: How to version-control non-code files related to projects

Back to topic list

Re: How to version-control non-code files related to projects

Author markphip (OCN Member)
Full name Mark Phippard
Date 2012-02-02 08:54:08 PST
Message Subversion only versions trees, not individual files. So you might want to add one or more top-level folders for these different files so that they can each be versioned independently. You could just configure the svn:ignore property on the folders so that files in the same folder that you do not want versioned are ignored.

Alternatively, you might add a folder in your app for all these files so that they can be edited and versioned with the app itself. You would then need a separate process to use svn export or svn cat command to extract the file from the repository when it changes.




On Feb 2, 2012, at 8:23 AM, Martin Wunderlich wrote:

> Hi all,
>
> I have a somewhat generic question on SVN version control: How do you go about versioning and storing files that are not source code, but rather related files? I am thinking about things such as:
> - installer files
> - build scripts
> - configuration files
> etc.
>
> FWIW, we are using the AnkhSVN client in VS2010. The product is written in VB.net. In our case, the files mentioned above are situated in various locations on file servers, together with other stuff. So, there is not a single directory location that could serve as source for the repository upload. I would like to maintain the location structure of these files (because other stuff depends on these locations) and add them to the product's repository at the same time (so that we can go back to older versions when needed).
>
> What's the best way to achieve this?
>
> Cheers,
>
> Martin
>
> --------------------​--------------------​--------------
> http://subversion.op​en.collab.net/ds/vie​wMessage.do?dsForumI​d=4&dsMessageId=​444927
>
> To cancel your subscription to this CollabNet Subversion Client discussion, please e-mail XXXX@XXXX.

« Previous message in topic | 2 of 7 | Next message in topic »

Messages

Show all messages in topic

How to version-control non-code files related to projects mwunderlich (OCN Member) Martin Wunderlich 2012-02-02 08:23:07 PST
     Re: How to version-control non-code files related to projects markphip (OCN Member) Mark Phippard 2012-02-02 08:54:08 PST
         RE: Re: How to version-control non-code files related to projects mwunderlich (OCN Member) Martin Wunderlich 2012-02-06 02:21:58 PST
             Re: How to version-control non-code files related to projects markphip (OCN Member) Mark Phippard 2012-02-06 05:16:20 PST
         RE: Re: How to version-control non-code files related to projects mwunderlich (OCN Member) Martin Wunderlich 2012-02-06 05:00:38 PST
             Re: How to version-control non-code files related to projects markphip (OCN Member) Mark Phippard 2012-02-06 05:16:57 PST
                 RE: Re: How to version-control non-code files related to projects mwunderlich (OCN Member) Martin Wunderlich 2012-02-06 07:04:54 PST
Messages per page: