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

RE: [TSVN] Branching question

From: Amir Kolsky <amir_at_xpandsoft.com>
Date: 2004-08-17 19:51:36 CEST

Hmmm... That's a good idea.

The only problem is that the file is really a csUnit file: AllTests.cs...
However, I guess that I can add an svn:ignore for AllTests.cs so it wouldn't
be added...

 Amir Kolsky
XP& Software
 

]-----Original Message-----
]From: SteveKing [mailto:steveking@gmx.ch]
]Sent: Tuesday, August 17, 2004 6:01 PM
]To: dev@tortoisesvn.tigris.org
]Subject: Re: [TSVN] Branching question
]
]Amir Kolsky wrote:
]
]> Here is a branching question:
]> Can I branch a single file?
]> In our project we have a specific file with configuration info.
]> When we develop we want the developers to work on the trunk - so
]> changes will propagate quickly to everyone.
]> However, that one file needs to be differenet for all. Is
]there a way
]> to have a branch for the one file?
]
]Yes. Create a file with the config info, rename it to e.g.
]config.tmpl.
]Then put that under version control. Each users checks out a
]working copy and gets that file. But since every dev has to
]make his/her own modifications they now have to make a copy of
]that template file and rename the copy to e.g. config. This
]config file is then actually used and can be modified by each
]developer individually, without those individual changes
]getting committed.
]
]For an example, look at how TortoiseSVN handles the build
]script (see TortoiseVars.tmpl file in trunk).
]
]Stefan
]
]
]---------------------------------------------------------------------
]To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
]For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
]

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Tue Aug 17 19:49:51 2004

This is an archived mail posted to the TortoiseSVN Dev mailing list.

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