http://bugs.grommit.com/show_bug.cgi?id=453
Summary: script for workspace move without history Product: SCM Migration Version: unspecified Platform: SPARC (32bit+64bit) OS/Version: Solaris 11/Nevada Status: NEW Severity: minor Priority: P4 Component: other AssignedTo: scm-migration-dev at opensolaris.org ReportedBy: mike.kupfer at sun.com Some consolidations or other projects may wish to migrate from TeamWare to Mercurial, without keeping any of the old TeamWare history. For example, this is the plan for SFW. This is pretty straightforward to do by hand, but it would be nice to have a script. The basic steps are - create the new directory and initialize it (hg init) - copy the old source tree to the new directory - remove any SCCS directories in the new tree - do "hg add" at the top of the new tree - do "hg commit" It would be useful to check for permissions issues, probably before doing the "hg add". Files should be 664, and directories should be 775. The main complication is dealing with SCCS keywords, which we want to check in unexpanded. One option would be to do a mass "sccs edit" prior to copying the source tree. Another option would be to copy the files one at a time, using "sccs get -k -p $file > $newpath/$file". -- Configure bugmail: http://bugs.grommit.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.