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: Laine Stump
Subject: Re: vss2cvs migration of shared files
Date: 31 May 2001 13:12:40 -0400
User-agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7

> > 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.

> Laine Stump wrote:
> > 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.

Manik Bafna <address@hidden> writes:
> 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.

There is no issue there (as long as nobody else is using your VSS
repository at the time), and that's how I've always assumed it would
need to be done. However, what I asked for was actual VSS commandlines
to get a list of the deleted files. I don't have the time or desire to
go wading through VSS documentation to figure out the right
commandline parameters.


> 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]