InquiringMinds
12-Oct-2004, 09:05 AM
I have been exchanging email with Chris Kennedy on the support team. I thought I would post the query here so that others can comment.
Here's my problem:
I am developing a software application. There are two of us writing code. It is a Visual Basic 6 application. There is a single project file with about 25 modules plus a few Access database files, some sound and graphics files, and some documentation files.
In an attempt to keep things straight, I created a folder structure where all of the development files for a particular version are in a separate folder tree:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
When it’s time to create a new version (e.g., Ver20041012), I would create a new version folder:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
\VBDemo\Ver20041012
and then copy the entire folder tree to the new folder tree:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
\VBDemo\Ver20041012
\VBDemo\Ver20041012\Code
\VBDemo\Ver20041012\Data
\VBDemo\Ver20041012\Docs
\VBDemo\Ver20041012\Graphics
\VBDemo\Ver20041012\Sounds
I then Zip up the old folder tree, store it in another folder of old version zip files, and delete the old development tree:
\VBDemo
\VBDemo\Old
\VBDemo\Old\Ver20040815.zip
\VBDemo\Old\Ver20040902.zip
\VBDemo\Old\Ver20040930.zip
\VBDemo\Ver20041012
\VBDemo\Ver20041012\Code
\VBDemo\Ver20041012\Data
\VBDemo\Ver20041012\Docs
\VBDemo\Ver20041012\Graphics
\VBDemo\Ver20041012\Sounds
This is where the problem arises. I would like to be able to right-click on \VBDemo\Ver20041012 and tell BC to make it the left side and then right-click on \VBDemo\Old\Ver20040930.zip and tell BC to do the compare. There appear to be 2 problems with this: (1) The compare fails at the highest level because BC does not recognize that the Zip file is just a shell containing the data to be compared. (2) Even if BC would step down one level on the Zip file side, the folder names do not agree and BC will not get past that.
I would also like to be able to right-click on 2 of the zip files in the \Old folder and have BC show me where the differences are. This fails for reason (2) above. I need a way to tell BC to ignore the folder name at the highest level and compare the contents. I would think this would be a useful option for things like software development where there are named versions.
Is there a way to do this?
Is there a different folder structure that would be more amenable to making the compares work better?
How does the BC development team manage versions and making comparisons?
Thanks
PS: Is there any way to make the Post window larger so when I am composing my post I can see more than 5 lines at a time?
Here's my problem:
I am developing a software application. There are two of us writing code. It is a Visual Basic 6 application. There is a single project file with about 25 modules plus a few Access database files, some sound and graphics files, and some documentation files.
In an attempt to keep things straight, I created a folder structure where all of the development files for a particular version are in a separate folder tree:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
When it’s time to create a new version (e.g., Ver20041012), I would create a new version folder:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
\VBDemo\Ver20041012
and then copy the entire folder tree to the new folder tree:
\VBDemo
\VBDemo\Ver20040930
\VBDemo\Ver20040930\Code
\VBDemo\Ver20040930\Data
\VBDemo\Ver20040930\Docs
\VBDemo\Ver20040930\Graphics
\VBDemo\Ver20040930\Sounds
\VBDemo\Ver20041012
\VBDemo\Ver20041012\Code
\VBDemo\Ver20041012\Data
\VBDemo\Ver20041012\Docs
\VBDemo\Ver20041012\Graphics
\VBDemo\Ver20041012\Sounds
I then Zip up the old folder tree, store it in another folder of old version zip files, and delete the old development tree:
\VBDemo
\VBDemo\Old
\VBDemo\Old\Ver20040815.zip
\VBDemo\Old\Ver20040902.zip
\VBDemo\Old\Ver20040930.zip
\VBDemo\Ver20041012
\VBDemo\Ver20041012\Code
\VBDemo\Ver20041012\Data
\VBDemo\Ver20041012\Docs
\VBDemo\Ver20041012\Graphics
\VBDemo\Ver20041012\Sounds
This is where the problem arises. I would like to be able to right-click on \VBDemo\Ver20041012 and tell BC to make it the left side and then right-click on \VBDemo\Old\Ver20040930.zip and tell BC to do the compare. There appear to be 2 problems with this: (1) The compare fails at the highest level because BC does not recognize that the Zip file is just a shell containing the data to be compared. (2) Even if BC would step down one level on the Zip file side, the folder names do not agree and BC will not get past that.
I would also like to be able to right-click on 2 of the zip files in the \Old folder and have BC show me where the differences are. This fails for reason (2) above. I need a way to tell BC to ignore the folder name at the highest level and compare the contents. I would think this would be a useful option for things like software development where there are named versions.
Is there a way to do this?
Is there a different folder structure that would be more amenable to making the compares work better?
How does the BC development team manage versions and making comparisons?
Thanks
PS: Is there any way to make the Post window larger so when I am composing my post I can see more than 5 lines at a time?