I currently have an SVN repository that is based on the DEPLOYED location of:
/var/www
That means the root of the repository is a copy of everything needed below that.
My working copy is somewhere in my mess of a hard drive :-)
Now, I have other things that I want to add to it, based on the deployed location. Not sure where it is, (not my code base), but it's a JAVA deployment on the server. I know for a fact it's not off the same location on the server we're making.
So, how do I add this other directory to开发者_StackOverflow社区 the repository to be versioned and keep track of where it goes in the deployment?
For example's sake, let's say everything below /usr/local/tomcat6
For me, this sounds like a use case for externals:
keep track of where [the other directory] goes in the deployment
So, add the /usr/local/tomcat6
directory as an external
to your working copy and you should be fine.
Or did I get you wrong and /usr/local/tomcat6
isn't versioned at all? In that case, you will have to create a repository for /usr/local/tomcat6
before you can track any changes there (and add it as external
).
精彩评论