[cvsnt] Removing a file from an existing tag

nitesh bansal nitesh.bansal at gmail.com
Thu Apr 2 10:55:37 BST 2009


Community technical support mailing list was retired 2010 and replaced with a professional technical support team. For assistance please contact: Pre-sales Technical support via email to sales@march-hare.com.


Hi Bo Berglund,

Thanks for your suggestion.I have removed it and commited the changes.As a
result of it, binary files are gone from my next sandboxes, is there a way
to remove them from my old sandboxes.If i directly access the CVS
Repository and remove them from there, how will it affect my system.Please
suggest.

With Best Regards and Thanks,

Nitesh Bansal,

Software Engineer in India

On Thu, Apr 2, 2009 at 3:26 AM, Bo Berglund <bo.berglund at telia.com> wrote:

> On Wed, 1 Apr 2009 15:57:31 +0530, nitesh bansal
> <nitesh.bansal at gmail.com> wrote:
>
> >Hello All,
> >
> >I am using CVS to maintain my project.I have applied many tags on my code
> to
> >differentiate between different versions.The mistake i made that i checked
> >in binary files which are consuming lots of space.I want to remove the
> >binary files from the CVS but dont want any change in revision history and
> >the tags applied.Please suggest me the best way to do it.
> >
>
> CVS does not work like that. There is no tag that contains files,
> instead files have "tag" property values.
>
> If you set a tag across a sandbox then all files will store that tag
> at the precise revision number they hold at the moment. At a later
> time if you update to this tag you will get back all files to the
> revision they held at the time the tag was applied. Consider a tag as
> a snapshot in time.
>
> If you really do want to get rid of the binary files from now on then
> you can simply do a CVS remove on them and commit. THis works only if
> you are currently on HEAD or on the tip of a branch. Then they will be
> gone from your future sandboxes unless you update to a tag name, in
> which case the old binaries will reappear.
>
> Notice that if you work with branches the approach will be slightly
> different because a file may be CVS removed on one branch while still
> existing on another.
>
> --
>
> /Bo
> (Bo Berglund, developer in Sweden)
> _______________________________________________
> cvsnt mailing list
> cvsnt at cvsnt.org cvsnt downloads at march-hare.com @CVSNT on Twitter CVSNT on Facebook
> http://www.cvsnt.org/cgi-bin/mailman/listinfo/cvsnt https://www.march-hare.com/cvspro/en.asp#downcvs
>
> Upgrade to CVS Suite for more features and support:
> http://march-hare.com/cvsnt/
>


More information about the cvsnt mailing list
Download the latest CVSNT, TortosieCVS, WinCVS etc. for Windows 8 etc.
@CVSNT on Twitter   CVSNT on Facebook