Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to manage the code?

Status
Not open for further replies.

davyzhu

Advanced Member level 1
Advanced Member level 1
Joined
May 23, 2004
Messages
494
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,298
Location
oriental
Activity points
4,436
Hi all,

I have to package all the code to a zip file and rename it with date. Like Proj_051101.zip. But it's not convenient. I use software like CVS in company, but it seems must be run on server.
Is there any software run on PC for personal usage?

If this post should not be posted here, please let me know, thanks!

Any suggestions will be appreciated!
Best regards,
Davy
 

CVS runs on PC
 

    davyzhu

    Points: 2
    Helpful Answer Positive Rating
if you are familiar with cvs, you can use cvs derivatives or frontends on your PC, like:

http://www.tortoisecvs.org/

another option could be MS SourceSafe but it is not free.
 

    davyzhu

    Points: 2
    Helpful Answer Positive Rating
I have used TortoiseCVS and find it is what I want. So I write a tutorial for it.

TortoiseCVS tutorial v.1.1 (used in local PC i.e. without remote server):
(1) Download TortoiseCVS from sourceforge.net and install.

// Make local repository
(2) Right click on the fold you want to be a CVS fold(i.e. a repository) .
(3) Choose" Make new module".
(4) Choose protocal"Locally mounted folder:)local:)".
(5) Type in the fold name you want in "Repository folder" like"E:\example" and click "OK".
(6) There will be a pop-up and click "OK".

// Add file to sandbox
(7) Right click the file and choose "CVS add...".

// Commit the file to Local Repository
(8) Right click the file and choose "CVS Commit...".

// one file revert to an old version
(9) Right click the Unmodified file and choose "CVS"->"History...".
(10) Right click on the version you want to revert and choose "Save the revision as".
(11) When the Save As dialog appears, double-click on the file's name in the directory listing.
(12) Choose " replace the file" .

// One folder(project) revert to an old version
(13) Add tag to a folder (you can add tag to a file too).
Right click on a folder and choose "CVS"->"Tag".
Read the note below and give a Tag name.
(14) Revert to an old version.
Right click on the folder and choose "CVS"->"Checkout"
On "Module" tab, choose your "Repository folder" and click "Fetch list".
Then choose the module you want to checkout.
On "Revision" tab, choose "choose branch or tag". You may "update list"
and choose the name.
On "Options" tab, you may choose the method to generate the fold.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top