info-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: vss2cvs migration of shared files


From: Manik Bafna
Subject: Re: vss2cvs migration of shared files
Date: Mon, 28 May 2001 10:24:41 +0530

Laine Stump wrote:

> Manik Bafna <address@hidden> writes:
>
> > BTW when trying to migrate from VSS to CVS found that
> > it does not migrate deleted files. How to fix this problem.
>
> I'm not aware of any method to get information or history for file
> deleted from VSS without undeleting them first. If you know of a way
> to use the "ss" commandline utility to get a list of deleted files,
> and to retrieve old versions of those files, without undeleting them,
> let me know and I'll try adding support for that into vss2cvs.

What is the issue if I mark undeleted, migrate and mark deleted again.
I know VSS creates new versions for files and projects if we undelete or
delete.
Will this create any problem.

To list the files/projects deleted:

ListDeleted (PROJECT)
{

   LIST all the files/subprojects deleted in PROJECT
   foreach element in the LIST {
       recover element
       if(element is a subproject/folder) {
           ListDeleted(element)
           delete the element
       }
       print element
   }
}


By this we could list current deleted files/project in the VSS.
Similar code could be written to recover, migrate and mark deleted again.

Regards,
Manik


>
>
> Or, better yet, do it yourself and send me the patches! ;-)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]