Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

Share files in CVS db

Posted on 2006-03-21
4
Medium Priority
?
243 Views
Last Modified: 2012-05-05
Hi!
I have used till now VisualSourceSafe for version controll.
In that version control you can put a file in different directories (Share) so that changes in one place will cause a change in the other one.
Is there a way to do it in CVS?
If so, how?
Thanks!
0
Comment
Question by:rzvika2
  • 2
  • 2
4 Comments
 
LVL 27

Accepted Solution

by:
Nopius earned 375 total points
ID: 16255476
No native support of such functionality in CVS.
However you may create 'hard links' directly in CVS repository (on UNIX only) - it's a hack.
Or you may try to use triggers to organize your own way of such sharing.
0
 

Author Comment

by:rzvika2
ID: 16256095
Thanks Nopius,
How can I create a hard link?
Will it work ok or there are cases that it won't work?
0
 

Author Comment

by:rzvika2
ID: 16258128
Ok, I've used a soft link and it works:
cd <directory to create link at>
ln -s <source file>

Thanks!
0
 
LVL 27

Expert Comment

by:Nopius
ID: 16263675
hard links works only on files, for directories you have found soft links are ok :)
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
The SignAloud Glove is capable of translating American Sign Language signs into text and audio.
Six Sigma Control Plans
Progress

571 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question