• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

You are not logged in or you do not have permission to access this page. This could be due to one of several reasons:

  • You are not logged in. If you are already registered, fill in the form below to log in, or follow the "Sign Up" link to register a new account.
  • You may not have sufficient privileges to access this page. Are you trying to edit someone else's post, access administrative features or some other privileged system?
  • If you are trying to post, the administrator may have disabled your account, or it may be awaiting activation.

Previously on "CVSNT - deleting files from repository"

Collapse

  • bored
    replied
    Originally posted by xchaotic View Post
    Finally, don't use CVS!
    It's because of problems like these, sane people have moved on to SCMs they can use (GIT, Mercurial etc).
    Can you permanently delete files from GIT/Mercurial? I know it's impossible in Subversion. And surely just going into the filesystem and deleting the files is as simple as it gets?

    Leave a comment:


  • ASB
    replied
    Cheers,

    I've just deleted the files from the repository and it all seems OK.

    Leave a comment:


  • xchaotic
    replied
    Originally posted by ASB View Post
    Source control is on CVSNT, mainly because it gives a viable way of offline working and Team Foundation Server is complete tripe with offline working.

    Anyway, now in the positions where there are a large number of files that are redundant. These have been deleted from the repository - which only marks them as dead (otherwise how could previous version be recovered). What I really want to do is really delete them.

    Anybody know how to do this (can't find anything by searching - but then I'm crap at finding things generally).

    The easiest way - recreate the repository from scratch without the deleted files. You lose your change history, but with your files really deleted, it's useless anyway.

    If you want the nitty gritty, go to the CVS repository and find the corresponding RCS files there (same name but with ,v appended). Delete all files.

    Finally, don't use CVS!
    It's because of problems like these, sane people have moved on to SCMs they can use (GIT, Mercurial etc).

    Leave a comment:


  • Addanc
    replied
    If this is a windows port of CVS, then you can do something like:

    rm theFilesYouWantToDelete
    or in Windows speak
    del theFilesYouWantToDelete
    cvs -d whereEverYourRepositoryIs rm theFilesYouWantToDelete

    You then need privilege to access the repository directly. The "cvs rm" sticks all the deleted files in a sub-directory of the original location (referred to as the cellar I think). Just go in there back'em up and delete them. Best to back them up just in case.

    Leave a comment:


  • ASB
    started a topic CVSNT - deleting files from repository

    CVSNT - deleting files from repository

    Source control is on CVSNT, mainly because it gives a viable way of offline working and Team Foundation Server is complete tripe with offline working.

    Anyway, now in the positions where there are a large number of files that are redundant. These have been deleted from the repository - which only marks them as dead (otherwise how could previous version be recovered). What I really want to do is really delete them.

    Anybody know how to do this (can't find anything by searching - but then I'm crap at finding things generally).

Working...
X