Share files in CVS db

Posted on 2006-03-21
Last Modified: 2012-05-05
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?
Question by:rzvika2
    LVL 27

    Accepted Solution

    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.

    Author Comment

    Thanks Nopius,
    How can I create a hard link?
    Will it work ok or there are cases that it won't work?

    Author Comment

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

    LVL 27

    Expert Comment

    hard links works only on files, for directories you have found soft links are ok :)

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    What Should I Do With This Threat Intelligence?

    Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

    INTRODUCTION We all know how to code. But at times you simply want to insert a common code block into your existing code and amend it as per your requirements. This tool not only saves you time but also saves you the pain of typing it all out aga…
    RIA (Rich Internet Application) tools are interactive internet applications which have many of the characteristics of desktop applications. The RIA tools typically deliver output either by the way of a site-specific browser or via browser plug-in. T…
    In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    737 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

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now