Re: Vss2Svn project moved, call for help - PLEASE READ

2010-03-28 Thread Toby Johnson
n't support Git, and I'm not familiar with Mercurial, so I decided against using a distributed VCS). Also, let me know if anyone would like to be an admin of the new group. Toby On Sun, Mar 28, 2010 at 11:49 PM, Toby Johnson wrote: > Hello everyone, > > As I've been plann

Vss2Svn project moved, call for help - PLEASE READ

2010-03-28 Thread Toby Johnson
Hello everyone, As I've been planning to do for some time now, I've moved this project to its final resting home at Google Code where I hope it can live out the rest of its days peacefully. I have set the Subversion repo to read-only and disabled new subscriptions to the mailing list. I'll soon sh

Re: Help needed to resolve error.

2010-03-23 Thread Toby Johnson
2010/3/23 Mahajan, Mayur > Hi All, > > > > I am getting below errors while creating dump file for migration. > > > > Attempt to add entry 'WUAA' with unknown version number (probably > destroy > > ed) parent: BNAA itemtype: 2 > > > > ERROR -- 'KHCA': wrong timestamp at version '10';

Re: VSS2SVN: Issues after migrating

2010-02-17 Thread Toby Johnson
On Wed, Feb 17, 2010 at 10:26 AM, Nathan Kidd wrote: > On a semi-regular basis I'm trying to understand the full evolution of a > piece of code (Tortoise Blame's "blame previous revision" rocks) > I second that! > (Oh, I do have another word of advice: use git) :) > Just curious: are you usin

Re: Latest version.

2010-02-16 Thread Toby Johnson
2010/2/17 D'abre, Leena ( SBU-QDI ) > Hi, > > > > Can we know the latest stable version of vss2svn. > The latest version is 0.11.0 which is linked from here: http://www.pumacode.org/projects/vss2svn/wiki/InstallingVss2Svn ___ vss2svn-users mailing lis

Re: VSS2SVN: Issues after migrating

2010-02-16 Thread Toby Johnson
t before > analyzing! > > Any other ideas or tips? > > Thanks! > > 2010/2/14 Toby Johnson > > Anu, >> >> Which version of the tool did you use? And did you run analyze on the >> database before migration? Often it's better to try it without runni

Re: VSS2SVN: Issues after migrating

2010-02-14 Thread Toby Johnson
Anu, Which version of the tool did you use? And did you run analyze on the database before migration? Often it's better to try it without running analyze first. Toby 2010/2/14 Anu Menon > Hi, > > I was able to go through the entire process successfully (well, it didn't > error out, & vss analy

Re: Questions related to running Analyze in VSS server

2010-02-03 Thread Toby Johnson
This is really a VSS question; this list is for vss2svn discussion. However if you are planning to migrate to SVN, I'd recommend trying it without running Analyze first. Sometimes it causes more harm than good. On Feb 3, 2010 12:11 PM, "Basma Shahadat" wrote: Hello All, I am running Analyze.exe

Re: No trunk or tags directories

2009-09-23 Thread Toby Johnson
On Wed, Sep 23, 2009 at 7:47 AM, Chris Velevitch wrote: > I've just downloaded vss2svn-0.11.0.zip from pumacode.org and when I > extract and load my repository, there is no trunk or tags directory. > Is this right version? Where do I find the version that correct > creates the trunk and tags? > T

Re: Project site ? Orphaned files?

2009-08-25 Thread Toby Johnson
On Tue, Aug 25, 2009 at 12:03 PM, Cooke, Mark wrote: > Without all your effort we would not even be here, so I can only say a > big "thank you" once again! I also need to look into compiling this > myself, it is after all a good reason to learn some perl! Glad the project has helped you out! J

Re: Project site ? Orphaned files?

2009-08-25 Thread Toby Johnson
On Tue, Aug 25, 2009 at 4:54 AM, Cooke, Mark wrote: > OK, I will try the "nightly" build instead. I guess I went with the > comment "The current recommended release is 0.11.0 Alpha 1." (on > http://www.pumacode.org/projects/vss2svn/wiki/InstallingVss2Svn) > > When was Alpha 1 released? Ah, I fo

Re: Project site ? Orphaned files?

2009-08-24 Thread Toby Johnson
On Mon, Aug 24, 2009 at 5:55 AM, Cooke, Mark wrote: > 1) which is the official site ~ is it still pumacode.org (which seems to > have the latest update) or google code? Can you update the front page > of either with a note to point to the latest? PumaCode is still the "official" site; it will

Re: ssphys fix for Mac OS X

2009-05-26 Thread Toby Johnson
Thanks Attila for the info and patch. Since I don't have a Mac to test on I didn't want to just add the patch directly but I have created a note about it on the wiki, with a link to your notes. http://www.pumacode.org/projects/vss2svn/wiki/InstallingSsPhys Toby 2009/5/26 Attila Tajti > Hello,

Re: wiki edits -- help wanted! (was Re: 4.5Gb dumpfile and mising UUID)

2009-02-27 Thread Toby Johnson
Robin Guest wrote: 2009/2/27 Toby Johnson mailto:t...@etjohnson.us>> Thanks a lot for the offer to help document, Robin. Not sure if you saw my previous email that I've turned off anonymous edits on the wiki due to a marked increase in wiki spam, and I'm planning

wiki edits -- help wanted! (was Re: 4.5Gb dumpfile and mising UUID)

2009-02-27 Thread Toby Johnson
Robin Guest wrote: I'm inclined to run though a complete dry run on another vanilla new, and document *exactly* what made it worked. If that'll help the wiki I'm happy to. I might even document the wubi install as well. It just seemed like I would need to take my time over it, and I wasn't if

Re: 4.5Gb dumpfile and mising UUID

2009-02-26 Thread Toby Johnson
On Thu, Feb 26, 2009 at 12:13 PM, Nathan Kidd wrote: > All that said, if I were you I would do this: > > Grab a live Ubuntu CD, and run the conversion from there. You'll get a > nice friendly GUI and a terminal like cygwin. There's no simple exe to > run, but the instructions aren't too hard to f

Moving vss2svn to Google Code

2009-02-21 Thread Toby Johnson
Hello everyone, Back when I created the PumaCode.org Trac project site, there were (IMO) no good, easy-to-use open source hosting sites that supported Subversion. SourceForge was the closest thing and their Subversion support was perpetually "any day now". And I was rather less than impressed

Re: vss2svn.pl --encoding=gbk

2009-02-02 Thread Toby Johnson
wallace0615 wrote: But the message is: TASK: INIT TASK: LOADVSSNAMES not well-formed (invalid token) at line 5923, column 22, byte 206698 at /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi/XML/Parser.pm line 187 And I google this problem, not found the way to resolve it. Anyone can h

Re: SVN update fails

2008-11-24 Thread Toby Johnson
Shruti Jani wrote: Hi, Here is the problem: When I try to update my local working copy, it gives an error: "Working copy locked. Please execute the 'Clean-up' command." Following the same, if I am trying Cleanup command, it fails with error: "Subversion reported an error while doing a clea

Re: Unhandled exception

2008-11-06 Thread Toby Johnson
Eric Freitas wrote: Sorry, I meant VSS2SVN. I'll install VSS 2005. Eric, it looks like there is possibly some other software which is calling itself VSS2SVN. This mailing list is for the one hosted at http://www.pumacode.org/projects/vss2svn/ , which does not have a GUI component and does n

Re: Issue getting application to built

2008-10-10 Thread Toby Johnson
Alexander Gavrilov wrote: On an unrelated topic: which combination of actions on the same path does SVN allow within one commit in the dump file? E.g. git allows any sequence of commands in its fast-import format, but remembers only the final state. I suspect that SVN is more restrictive. No

Re: Issue getting application to built

2008-10-09 Thread Toby Johnson
Jan Hlavatý wrote: Toby Johnson wrote: Jan Hlavatý wrote: SQLite2 module fails the module test suite (crashes during test) on win32 for me and wont install, anything is better than that. Why are you building it on Windows? You should be able to just install Might have something to do

Re: Issue getting application to built

2008-10-09 Thread Toby Johnson
Alexander Gavrilov wrote: On Thu, Oct 9, 2008 at 9:38 AM, Toby Johnson <[EMAIL PROTECTED]> wrote: Hi Alexander, sorry it took me a while to get back... the patch looks fine to me on the face of it, but then again I'm not really familiar with the differences between the two version

Re: Issue getting application to built

2008-10-09 Thread Toby Johnson
Jan Hlavatý wrote: Alexander Gavrilov wrote: Yes, SQLite 3 is available as DBD::SQLite. But I didn't see any noticeable differences in performance: switching the DB to a ramdisk is a lot more effective. So the only argument for switching is that SQLite2 is sort of obsolete. On the downside, it

Re: Issue getting application to built

2008-10-08 Thread Toby Johnson
Alexander Gavrilov wrote: On Friday 03 October 2008 21:21:03 you wrote: Alexander, just wanted to say I've been reviewing all the patches you've committed so far and they look great! You're really dealing with several long-standing issues that no one had bothered to fix thus far, so thanks

Re: Issue getting application to built

2008-10-02 Thread Toby Johnson
Alexander Gavrilov wrote: On Wednesday 01 October 2008 20:53:03 you wrote: OK, I've set you up with the login "agavrilov" and initial password: 4njms9dv This should give you commit access for all of vss2svn plus access to log in to the Trac project. You can change your password here: http

Re: Issue getting application to built

2008-09-30 Thread Toby Johnson
Alexander Gavrilov wrote: On Tuesday 30 September 2008 18:23:03 Toby Johnson wrote: In fact, if you haven't already done the patching, I would be happy to create a branch for you in the project's Subversion repo and give you commit access (I would have done so for Mr. Gavrilov in

Re: Issue getting application to built

2008-09-30 Thread Toby Johnson
David Smith wrote: Hi Toby, Toby Johnson wrote: David, maybe I missed something here but why are you building under Cygwin? Both of these programs were developed initially on Windows, with Linux build support added later on. Were you under the impression that they are *nix only? Unix

Re: Issue getting application to built

2008-09-30 Thread Toby Johnson
David Smith wrote: I am trying to build vss2svn under cygwin on Windows XP. I have got to the point where I execute ./Build and after many successful tests I am getting the error: checking for main in -lboost_program_options... no configure: error: You need the C++ boost Program Options library

Re: Nightly Builds?

2008-09-25 Thread Toby Johnson
David Smith wrote: Unless I am missing something, the last nightly build was 30 April 2008. Any idea when the next one will be? There was a bunch of patches by Alexander Gavrilov in late May 2008 that I was hoping would appear in a build soon. Yeah, April 30 sounds about right, that's when I c

Re: More patches for vss2svn

2008-05-28 Thread Toby Johnson
Alexander N. Gavrilov wrote: Hello, For the last two weeks I have been trying to convert our project's VSS repository to SVN, and last Friday I finally succeded in producing a Subversion repository, that does not deviate in it's final state from the VSS one, and has reasonable coverage of the

Re: Revision History Lost

2008-05-25 Thread Toby Johnson
Cary Wyman wrote: > Vista is not the issue here; for whatever reason your database does not > have the old versions of its files. Are you able to see them in VSS > Explorer? Do these items have the "keep only latest version" checkbox set? Thanks for the quick response. I can see the old

Re: error while creating repository from dumpfile

2008-05-25 Thread Toby Johnson
Bryan Aldrich wrote: I thought they already had been. I posted them in a seperate thread as well. OK thanks, I couldn't remember if they were the same. I've gotten a bit behind on my mailing lists! toby ___ vss2svn-users mailing list Project homep

Re: error while creating repository from dumpfile

2008-05-25 Thread Toby Johnson
Bryan Aldrich wrote: I was able to get them from my house. They are attached. Please be forwarned, I learned Perl making these fixes :) Bryan Thanks Bryan, has anyone else had a chance to test the patches? Should these be added to trunk? toby _

Re: Revision History Lost

2008-05-25 Thread Toby Johnson
Cary Wyman wrote: I then tried the most recent nightly build (30-Apr-2008). It produced a much shorter list of errors (lines beginning with ## were added from command output): BUILDACTIONHIST: Attempt to add entry 'XDAA' with unknown version number (probably destroyed) parent: CCAA

Re: Path for renames during restore and renames during share

2008-04-29 Thread Toby Johnson
Bryan Aldrich wrote: Thanks! I have one more which i'm working on as well. Hopefully that'll be done by this weekend! Sounds good, thanks for your help. I don't have time to test patches these days but I'm happy to commit them as long as they look reasonable & pass "perl -c" since others can al

Re: Path for renames during restore and renames during share

2008-04-29 Thread Toby Johnson
Bryan Aldrich wrote: I have created this patch during our VSS migration. It allowed us to restore a full and complete SVN repostiroy with all data accurate after the conversion. No files had to be moved from the orphaned directory either. Please let me know if there are any questions. Thank

Re: "skim" migration of trunk, tags and branches

2008-04-15 Thread Toby Johnson
[EMAIL PROTECTED] wrote: thank you for pointing that out. Well, we do have several large projects and if there are active branches that can't be finished out, it seems to me I could recreate them in SVN by checking in the project as it was before the branch was made, creating the branch inSVN, t

Re: auto-props problems

2008-04-14 Thread Toby Johnson
Bruce Wilson wrote: Hi, all. My migration is running without errors! Woo hoo! However... When I compare the export of VSS to SVN, I found that all my files (or all the ones I've checked so far) have properties "svn:eol-style=native" and "svn:mime-type=text/plain". That's kind of a problem

Re: "skim" migration of trunk, tags and branches

2008-04-14 Thread Toby Johnson
David Blaikie wrote: Hi, I'm doing a much less ambitious "skim" (i.e., checking out code from VSS and adding directly to SVN) migration of our VSS repository. I think that in order to migrate active branches and labels from VSS, I should check out each branch separately and then add it directl

Re: Patch to fix build

2008-04-09 Thread Toby Johnson
Ed Avis wrote: Hi, current vss2svn in Subversion fails to build on Fedora 8 because it is missing a header include. This patch fixes it: Thanks Ed, I've added your patch in r339. toby ___ vss2svn-users mailing list Project homepage: http://www.pu

Re: Labelling parent after child makes SanityChecker insane

2008-04-03 Thread Toby Johnson
Richard Hughes wrote: I've finally got to the bottom of the last thing preventing me doing a completely clean conversion. The same label was used three times, in three different subdirectories. The problem is in the sanity checker, which doesn't update its internal tree during the copy if the ta

Re: Infinite recursion in mergeparentdata

2008-03-10 Thread Toby Johnson
Richard Hughes wrote: This is a resurrection of a thread from 6 months ago, for which I now have more information. The basic background was: I'm getting a crash during conversion when GetPathDepth recurses itself forever (Perl exhausts its address space then segfaults). It appears to be caus

Re: Why orphaned?

2008-02-01 Thread Toby Johnson
Nathan Kidd wrote: Larson, Aaron (SWCOE) wrote: If so, then this little tidbit seems like a good addition to http://www.pumacode.org/projects/vss2svn/wiki/RunningTheMigration#Loadthedumpfileintotherepository Check it now. I had in the back of my mind to do this but thought the wiki had been

Re: Emptying a File's Content Requires "Text-content-length: 0"

2008-02-01 Thread Toby Johnson
cd wrote: Hi, I encountered problem with zero-length files, and solved it with the following hack. Still, there are three incorrectly converted files (not zero-length ones) in the head revision, but it is acceptable for our project. Index: D:/projects/vss2svn_src/script/Vss2Svn/Dumpfile.pm

Re: Emptying a File's Content Requires "Text-content-length: 0"

2008-02-01 Thread Toby Johnson
Nathan Kidd wrote: Sorry this is niether a patch (no time) nor a Ticket (no access, AFAIK). Unfortunately I had to remove anonymous ticket creation access due to spammers; keeping spam out of the wiki is enough of a chore! If you would like a login, let me know via private email what username

Re: Undefined subroutine...

2008-02-01 Thread Toby Johnson
Nathan Kidd wrote: Ah, I didn't use autoprops. http://cpan.uwinnipeg.ca/htdocs/Text-Glob/README.pm.html says: 0.08 Wednesday 2nd May, 2007 Expose glob_to_regex_string (Joshua Hoblitt) So if the exe is using e.g. 0.07 or earlier this error would make sense. Thanks Nathan, I did inde

Re: Svnadmin load failed

2008-01-02 Thread Toby Johnson
Roth, Pierre wrote: Hi, I am currently running a vss to svn migration of a 30 GB database. The vss2svn script completed without error and I generated a dump file. But I could not svnadmin load it completely : The first 17770 revisions were inserted but the 17771 failed : a 17770-1 transaction f

Re: Calling all migrators!

2007-12-13 Thread Toby Johnson
Jon Hardcastle wrote: Fantastic. that python script is the dogs nads! Hmm, is that considered a good thing? ___ vss2svn-users mailing list Project homepage: http://www.pumacode.org/projects/vss2svn/ Subscribe/Unsubscribe/Admin: http://lists.pumacod

Re: A question about vss2svn

2007-12-13 Thread Toby Johnson
Jason Winnebeck wrote: My understanding is that it doesn't. I think branches and shares are viewed as completely separate files that are just modified in lock-step. I'm not sure you could map it properly, because VSS is file-based, so you branch files. You don't name branches, if I recall corr

Re: A question about vss2svn

2007-12-13 Thread Toby Johnson
Jewgenij Moldawski wrote: Hi! I've found the site http://www.pumacode.org/projects/vss2svn and be glad that there it's! I'm going to migrate a VSS database with a couple of files and directories that had been "branched". Will the vss2svn be creating the corresponding branches (in fact direct

Re: Index of errors?

2007-11-28 Thread Toby Johnson
Bruce Wilson wrote: Thanks, Toby. I've added the page and started in with something easy: the error messages I could find in vss2svn.pl. http://www.pumacode.org/projects/vss2svn/wiki/ErrorMessages I'm glad for any review or contributions to this page. I'm not entirely happy with the cur

Re: differences between nighty~stable

2007-11-27 Thread Toby Johnson
Jon Hardcastle wrote: Hey guys. Some time has passed. I'm a little bit older, a little bit wiser maybe. ..and there is a new nightly build! But alas I still get the same problem. Can anyone help? The migration completes, but when I 'load' into SVN I get an error saying a file can't be found!

Re: A minor bug

2007-11-27 Thread Toby Johnson
Bruce Wilson wrote: Found a minor but annoying bug in vss2svn.pl, which of course is reflected in the nightly build where I can't change it. If --md5 is not specified, an error is reported: Use of uninitialized value in concatenation (.) or string at vss2svn.pl line 1289. Looks like the ea

Re: Index of errors?

2007-11-27 Thread Toby Johnson
Bruce Wilson wrote: Thanks, I don't know why I thought the nightly would be anything other than a Win32 build. From other docs I've seen (e.g. http://www.pumacode.org/projects/vss2svn/wiki/AutomatedWorkflow), it does appear that some "errors" can indicate more than just warnings. Perhaps

Re: Bug report in ssphy

2007-11-16 Thread Toby Johnson
André Doherty wrote: hello, I would like to report a bug i found in ssphys that causes the whole process to fail. In a somehow corrupted VSS database i am currently migrating to SVN, i meet some entries where the FORM FEED (0x0c) character is present in comments. Unfortunately this charac

Re: [PATCH] Tiny hash dereference warning in revision 324

2007-10-01 Thread Toby Johnson
Erik Bray wrote: Hello, When running vss2svn.pl from trunk with Perl 5.8.7, the following warning is printed: Using a hash as a reference is deprecated at /usr/local/share/perl/5.8.7/Vss2Svn/Dumpfile.pm line 798 Of course, this still works, but being that it's deprecated (and somewhat confusing)

Re: Sec to small

2007-08-31 Thread Toby Johnson
Trond Husø wrote: Hi List, I’m trying to run vss2svn on a win2000 server and when it runs I get this error: Use of uninitialized value in gmtime at /PerlApp/Vss2Svn/Dumpfile.pm line 904. Sec too small - 0 < 3600 Cannot handle date (0, 0, 0, 1, 0, 1970) at /PerlApp/Vss2Svn/Dumpfile.pm line 905

Re: Complex VSS Migration - dealing with moved/branched version history

2007-08-15 Thread Toby Johnson
FYI, vss2svn is a completely separate project from Subversion; I am copying in that mailing list so please join there (http://www.pumacode.org/projects/vss2svn) to discuss further. See additional comments below... Bicking, David (HHoldings, IT) wrote: I searched for days for information and t

Re: build error

2007-07-24 Thread Toby Johnson
What platform are you using? If Windows, you should install modules using ppm, not CPAN. (e.g. "ppm install Module::Build"). If you type "ppm" without any parameters you will enter interactive mode. If you are using *nix, have you checked whether your distro provides a binary Module::Build pac

Re: upcoming 1.0 release

2007-07-09 Thread Toby Johnson
Dirk wrote: Hi Toby Sounds good. Actually I was thinking about just going full-bore and issuing a 1.0 release. I think that most of the major issues that most users would encounter when converting their repo have been solved, and I don't really see us adding any major new features unless som

Re: vss labels support status

2007-07-03 Thread Toby Johnson
Dirk wrote: Hello Paolo, I'm wondering if there are any news about vss labels support in vss2svn as the wiki states that it's still missing. Please use the nightly build. In this version labels support is fully functional. All labels are mapped to a directory called /labels I should really

Re: MD5, UUID

2007-06-26 Thread Toby Johnson
Dirk wrote: Hello Toby, besides some other changes I have added UUID and MD5 checksum generation. The later is optional. Nevertheless the new code needs two more modules Digest::MD5 Data::UUID Is it ok to check in, or will the build procedure break? Wow, you've been very busy tonight! Thank

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-06-26 Thread Toby Johnson
Dirk wrote: I think we should be able to simply keep a running sum of the content-length as we output each line. I can't think of any way around computing MD5 sums aside from a temp file, but have we determined that it's really necessary to compute those? It just seems a bit of a shame to

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-06-26 Thread Toby Johnson
Dirk wrote: I tried your suggestion and from what I can see it looks good. But I don't use a mixed setup, so someone else should try this out. Ok, one major drawback: we have to compute the size of the converted files for the Content-length: attribute. Otherwise the import will fail. So we

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-06-25 Thread Toby Johnson
Dirk wrote: Grrr. this doesn't work. I tried different methods, but the :crlf has no influence. Perhaps I'm doing something stupidly wrong. Simply converting in several chunks is also not possible, since we could split up in between a CR and LF. I think the only solution is to run an external

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-06-25 Thread Toby Johnson
Dirk wrote: Dirk schrieb: I wonder if File::Copy allows some sort of "hook" so that we can process each "chunk" on the fly to do this conversion? Otherwise it may be necessary to create an intermediate file in order to perform the conversion prior to the final copy to the dumpfile... Hello

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-06-24 Thread Toby Johnson
inators, even if the host encoding is CR/LF? Best regards Dirk Toby Johnson schrieb: Aleksey Nogin wrote: If I use the vss2svn (latest HEAD version) with the --auto_props option and the auto-props file sets svn:eol-style=native one some of the files, the files would not be converted correctl

Re: Some issues

2007-06-24 Thread Toby Johnson
Dirk wrote: Hi, The md5:s on the other hand seem more tricky. When I load/dump, they aren't generated. In essence it seems that if the checksums are missing, they'll stay missing. The SvnDumpTool has the option the re-generate the checksums, but it can't handle that they are missing from the st

Re: [PATCH] Use File::Copy to avoid out of memory errors

2007-06-13 Thread Toby Johnson
Larson, Aaron (SWCOE) wrote: "TJ" == Toby writes: TJ> ... If anyone has problems with the resulting nightly build (or TJ> confirmation that it works correctly), let me know... Using the 070612-nightly build, the vss2svn run completed and generated a dumpfile. However, when

Re: [PATCH] Use File::Copy to avoid out of memory errors

2007-06-12 Thread Toby Johnson
Larson, Aaron (SWCOE) wrote: "TJ" == Toby writes: TJ> Erik Bray wrote: TJ> ... If anyone has problems with the resulting nightly build (or TJ> confirmation that it works correctly), let me know... Once a nightly comes out, I will test it out. I'm interested to see if the latest

Re: svnadmin: File not found

2007-06-11 Thread Toby Johnson
[EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote on 12/06/2007 12:53:03: > [EMAIL PROTECTED] wrote: > > > > Dirk & All, > > > > I came up with, and coded a solution for this problem. The patch is > > supplied below, if anyone is interested. > > > > To summarise, this is to fix the "svnadmin loa

Re: Automated conversion script

2007-06-11 Thread Toby Johnson
Ingo Schmidt wrote: Hi! I have finally had the time to finish documenting my conversion script that I created and used to convert the VSS database at my company. You can find the script here: http://www.der-ingo.de/bin/vss2svn/convert.zip The included readme.txt is hopefully detailed enough t

Re: svnadmin: File not found

2007-06-11 Thread Toby Johnson
[EMAIL PROTECTED] wrote: Dirk & All, I came up with, and coded a solution for this problem. The patch is supplied below, if anyone is interested. To summarise, this is to fix the "svnadmin load" problem where it emits the following error: vv

Re: [PATCH] Use File::Copy to avoid out of memory errors

2007-06-11 Thread Toby Johnson
Erik Bray wrote: Greetings, First some background: I've been working on converting a rather large (~19 GB) VSS repository to SVN. Yes, it's a mess. The source repository is all full of gunk. But the other issues can be addressed separately. The issue here is that being such a large repositor

Re: vss2svn --auto-props do not convert "svn:eol-style=native" files correctly?

2007-05-25 Thread Toby Johnson
Aleksey Nogin wrote: If I use the vss2svn (latest HEAD version) with the --auto_props option and the auto-props file sets svn:eol-style=native one some of the files, the files would not be converted correctly. The problem here is that the dump file is _required_ to only have the LF line termin

Re: Some Comments

2007-05-25 Thread Toby Johnson
[EMAIL PROTECTED] wrote: Thanks Toby. Agreed re. keeping the VSS database around in read-only mode. That is the approach that I have chosen. Re. the RESTORE issue - I noticed that there is physical information indicating when the restore is done. I think vss2svn could be made to "back-trac

Re: Some Comments

2007-05-24 Thread Toby Johnson
Hello Guillaume and Dave, thanks for sending your experiences. As we have found from numerous user experiences, every case seems to be different because VSS finds unique and interesting ways to corrupt itself. :) Most people find that creating and restoring a backup prior to conversion will a

Re: Patches and tickets

2007-05-14 Thread Toby Johnson
Larson, Aaron (SWCOE) wrote: "TJ" == Toby writes: TJ> Thanks for the patch guys; I guess if two people independently TJ> submit the same patch then I can assume it works! I've committed TJ> this in r310. The description of this patch certainly sounds like the problem I've been h

Patches and tickets (was: DumpFile.pm patch)

2007-05-11 Thread Toby Johnson
Stephen Lee wrote: Patrick J. Kelsey wrote: I am having very good success in migrating a 310 MiB VSS database that has a number of 'destroyed' items and incorrect timestamps to svn, but only with the following patch to DumpFile.pm. You seem to have independently come up with the same patch (exc

Re: Hello

2007-04-26 Thread Toby Johnson
Hall, James wrote: Hey Guys I am new to this mailing list and need a little help Currently we have a VSS database that we are using to store graphical content. Currently we are using the following features of VSS - Sharing - Versioning - Labeling While I admire what SVN is, we feel that SVN i

Re: OOM issues: large files AND many commits in SS databases

2007-04-23 Thread Toby Johnson
Amos Shapira wrote: It's hard to tell the version I have, there is no "--version" option and no mention of any SVN keyword in the source code. It would be useful if you could "svn propset svn:keywords 'HeadURL Id'" and include "$HeadURL$" and "$Id$" in the script. This is already included in t

Re: OOM issues: large files AND many commits in SS databases

2007-04-20 Thread Toby Johnson
Kenneth Lakin wrote: So, the memory that we consume with the un-buffered read should be released when each revision gets written out. Right? Along those lines: Aren't all data structures in Dumpfile flushed after each revision, except for those in SanityChecker? As far as I know, both coun

Re: OOM issues: large files AND many commits in SS databases

2007-04-19 Thread Toby Johnson
Kenneth Lakin wrote: All, I'm running vss2svn and ssphys (from SVN rev 309) on a Windows XP Pro machine w/ 2GB of RAM. I compiled perl from the ActiveState 5.8.8 sources. I've enabled perl's native memory management. I have two separate issues. The first: *Summary: SanityChecker needs to sta

Re: [PATCH] Fix wrong deleting order

2007-04-17 Thread Toby Johnson
Sergei Meleshko wrote: Hi, I would propose a patch that fixes a wrong order of deleting subfolders that were deleted at the same second. For instance we have a vss database with projects: $/ Project SubProject SubProject It is possible to delete projects $/Project and $/Project/

Re: VSS 2005

2007-03-25 Thread Toby Johnson
Corey wrote: We upgraded our VSS to 2005 around September of last year. Now when I run vss2svn it only exports all of he data from September back. I don't get many errors when I run the program it just seems to think none of my new stuff exists. I have run analyze quite a few times on my VSS d

Encodings support

2007-03-09 Thread Toby Johnson
Rather than have the various "custom" encodings files attached to the wiki page, I have now checked these in to Subversion (as well as the .xml files used to generate them) under script/encodings. Both the .pl and .exe versions of vss2svn will now look for this "encodings" file, and add it to t

Re: vss2svn exits silently

2007-03-09 Thread Toby Johnson
Larson, Aaron (SWCOE) wrote: "AL" == Aaron Larson writes: AL> I used the 0.11.0-alpha, and nightly-20070214 releases ... AL> Any chance 343MB is too big for a single file/commit? I'm running the AL> executable from a Cygwin bash script on a windows XP host using AL> "nohup". ...

Re: windows-1251

2007-03-06 Thread Toby Johnson
Сергей Фетискин wrote: Hi all. I tried convert our old VSS repository this way C:\temp\vss2svn>vss2svn.exe --vssdir C:\temp\ --encoding="Windows-1251" and got error Couldn't open encmap windows-1251.enc: No such file or directory at /PerlApp/XML/Parser.pm line 187 What I should do to fi

Re: [PATCH] Add option --incremental: one dump file per revision, and a small patch to ssphys

2007-03-04 Thread Toby Johnson
Larson, Aaron (SWCOE) wrote: "TJ" == Toby writes: TJ> ... but I'm not sure what you think should be done to handle TJ> upper/lowercase names on Linux. I'm not a perl guy, but if I were doing this in Python, I'd use the listdir() function and then do a case insensitive search o

Re: [PATCH] Add option --incremental: one dump file per revision, and a small patch to ssphys

2007-03-04 Thread Toby Johnson
Flavio Stanchina wrote: Hello, this is my first message to the list and first set of patches to vss2svn, so forgive me if I'm doing something wrong. For example, I'm not sure if you prefer to receive patches via the mailing list or via the ticket system, but the mailing list seemed the better opt

Re: /usr/local/bin/ssphys: unrecognized file during LOADVSSNAMES

2007-03-01 Thread Toby Johnson
Marcel Juffermans wrote: Yes, it's a Mac. Is there a standard way to convert little endian to big endian that you know of? Looking at SSTypes.h there aren't that many places where a conversion would need to happen. I'm happy to submit patches, if I have a code snippet that can do the conversion

Re: Usernames and case-sensitivity

2007-02-16 Thread Toby Johnson
Ori Avtalion wrote: Toby Johnson wrote: I thought about that, and figured we could add a switch to output only a list of names into a mapping file, where the user could easily set up any changes they want. Of course I can come up with ideas all day long but having time to work on them is

Re: Usernames and case-sensitivity

2007-02-16 Thread Toby Johnson
Dirk wrote: I think the best approach would be to allow a text file with VSS-to-Subversion name mappings, or have the command-line switch instead be a search-and-replace regex to apply to all VSS usernames, because there certainly will be cases where people want to munge their names in oth

Re: Usernames and case-sensitivity

2007-02-15 Thread Toby Johnson
Ori Avtalion wrote: Toby Johnson wrote: Ori Avtalion wrote: VSS seems to force first letter to be upper case, and the others to lowercase. It must be the GUI that forces that restriction. You may have luck with the following approach: * Move or rename the file um.dat in

Re: Nightly 20070202 and new encoding switch

2007-02-15 Thread Toby Johnson
Ori Avtalion wrote: Update to the wiki page: There's no need to manually hack an xml file to generate the enc. According to the information here: the XML::Encoding module comes with both a make_encmap to generate the xml from t

Re: Encoding Japanese

2007-02-15 Thread Toby Johnson
Dirk wrote: Hello, have you tried to run with the --encoding="x-sjis-cp932" parameter? The patch you did is somewhat problematic, since it will encode the complete XML output including all markup. Normally only the content is "encoded" in some way and that is what the "encoding" switch does. It

Re: Suggested vss2svn workflow (was RE: Invalid change ordering?)

2007-02-12 Thread Toby Johnson
Jonathan Perret wrote: The only other steps that are Windows-specific are those that use ss.exe (to clean up the VSS DB) and analyze.exe (to fix DB errors). One can certainly do without these but they do help. In particular it sounds better to fix errors with analyze.exe rather than have vss2svn

Re: Invalid change ordering?

2007-02-10 Thread Toby Johnson
Dirk wrote: Index: ActionHandler.pm === --- ActionHandler.pm(revision 291) +++ ActionHandler.pm(working copy) @@ -575,7 +575,7 @@ # recover this item within the current parent my $parentinfo = $physinfo->{parents

Re: svnadmin: File not found error

2007-02-09 Thread Toby Johnson
Pole, Mathew wrote: Firstly, I'm running the nightly (6-Feb-2007) that Tody patched to solve an 'Inconsistent item type' error. Unfortunately the dumpfile has an error when I try to import it. --- Committed revision 4528 >>> <<< Started new transaction, based on original revision 4529

  1   2   3   >