 |
|  |
 |
|
Fromafar
|
|
The way I have interpreted it, is that the ctp2_program\ctp directory is a (partial) copy of the ctp2_code\ctp directory, containing only the files that are relevant for the end user. Some files (anet.inf, userprofile.txt, map and anet dlls, etc.) are accessed relatively in or from the directory where the executable is located.
Since the archive is centered around the developer (ctp2_code) files, I think we should store the files in the ctp2_code directory tree, and e.g. update the version of anet.inf in the ctp2_code\ctp directory to the patched one.
For release generation, we should create some automatic installer that will copy the relevant files to the ctp2_program tree structure, so we don't have to store the same file at 2 locations.
The files eventcb.txt, ldlparselog.txt, slicdbg.txt, and userprofile.txt are generated from scratch every time or contain personal preferences, so these should not be managed by SVN.
A question for the SVN experts: what will happen when other SVN users do an SVN update after I have done something like: make a local backup, execute SVN delete + commit, restore my local backup as an unmanaged file? Are the files deleted when there are no further conflicts, or are the files kept as unmanaged?
This should not matter too much for the first 3 files, but will matter for userprofile.txt.
|
|
|  |
 |
|
J Bytheway
|
 |
England
Jul 2001 time: 05:18
|
|
quote: Originally posted by Fromafar
The way I have interpreted it, is that the ctp2_program\ctp directory is a (partial) copy of the ctp2_code\ctp directory, containing only the files that are relevant for the end user.
[snip]
Since the archive is centered around the developer (ctp2_code) files, I think we should store the files in the ctp2_code directory tree, and e.g. update the version of anet.inf in the ctp2_code\ctp directory to the patched one.
For release generation, we should create some automatic installer that will copy the relevant files to the ctp2_program tree structure, so we don't have to store the same file at 2 locations. |
That's precisely my opinion. I have already created such a script (in the Makefile in the main directory) although it copies to a playtest direcory, not into ctp2_program (to avoid things being cluttered by ".svn" directories). I think we should remove the ctp2_program directory from the repository altogether.
quote: A question for the SVN experts: what will happen when other SVN users do an SVN update after I have done something like: make a local backup, execute SVN delete + commit, restore my local backup as an unmanaged file? Are the files deleted when there are no further conflicts, or are the files kept as unmanaged?
This should not matter too much for the first 3 files, but will matter for userprofile.txt. |
Well, when I deleted the repository version of ctp2_program/ctp/userprofile.txt, what happened to yours? That is what should happen in such a circumstance. Whether the person who does the deletion happens to restore a local unmanaged copy is irrelevant.
|
|
|  |
 |
|  |
All times are GMT. The time now is 05:18. Apolyton Time is 00:18. |
top of page
|
|
|
Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is ON
vB code is ON
Smilies are ON
[IMG] code is ON
|
|
|
|
|
|