<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'>Here's a little Windows hack?trick?technique from memory for dividing down long running commands that might help.<BR>
 <BR>
in_each_dir.cmd<BR>
  for /f %%a in ('dir /b /ad') do cd %%a && %*<BR>
 <BR>
cd %CVSROOT%<BR>
in_each_dir cvs update -dAP<BR>
 <BR>
If the problem is one that you merely want to parallelize with a possible loss in logging, because it is actually a reliable but slow and parallelizable operation, you can do like: <BR>
 <BR>
 in_each_dir start cvs update -dAP  <BR>
 <BR>
 or <BR>
 <BR>
 in_each_dir start /min cvs update -dAP <BR>
 <BR>
 That doesn't seem the case here so just use it serially. <BR>
 <BR>
 I'm quite proud of this one line of cmd. :) (while at the time..cmd stinks...) <BR>
 <BR>
 Could it be newlines vs. carriagereturn-newlines? <BR>
 <BR>
 I find checkouts takes a while, but heck, I'm using wireless and often forget -z3. <BR>
 My CVS knowledge continues to be lame..something like <BR>
 cvs -z3 checkout cm3/scripts <BR>
 <BR>
  as a way to limit the initial checkout and then  <BR>
 <BR>
  cd %CM3_ROOT%  <BR>
  for %a in (m3-sys m3-libs m3-ui etc.) do cvs update -dAP %a  <BR>
 <BR>
to do it piecemeal. See, what I'd like is to get either all the toplevel directories but empty, or all the directories but no files, so I can use in_each_dir to enumerate.<BR>
 <BR>
A more complete solution that logs each command to its own file and combines the exit codes is left as an exercise. :)<BR>
 <BR>
I've never debugged networking stuff and hope never to.<BR>
I recently installed the Windows network tracing free download thingy for the first time, I forget why, didn't use it much, and have since reinstalled the OS and don't plan on reinstalling the tracer. It did appear quite nice, flexible, great gui for forming filters and such, etc...<BR>
 <BR>
TortoiseSVN has worked fine for me, on a small tree.<BR>
I will try TortoiseCVS again some time. I think I didn't tell it about ssh.<BR>
 <BR>
 - Jay<BR><BR>

<HR id=stopSpelling>
<BR>
> Date: Wed, 23 Jan 2008 00:53:02 +0100<BR>> From: ronny.forberger@elegosoft.com<BR>> To: rcoleburn@scires.com<BR>> CC: m3devel@elegosoft.com; jayk123@hotmail.com<BR>> Subject: Re: [M3devel] next problem (NT386GNU)<BR>> <BR>> -----BEGIN PGP SIGNED MESSAGE-----<BR>> Hash: SHA1<BR>> <BR>> Olaf Wagner schrieb:<BR>> > Quoting Randy Coleburn <rcoleburn@scires.com>:<BR>> ><BR>> >> Jay / Olaf:<BR>> >><BR>> >> I installed CVSNT and TortoiseCVS. I am having some trouble with<BR>> >> "update" however. When I try to update the whole tree, it begins<BR>> >> working, but after a little while I start seeing messages that<BR>> >> checksums<BR>> >> didn't match on certain files and that it will refetch. Then, after<BR>> >> just a little longer, it stops responding. I've left it running for<BR>> >> hours, but no new lines scroll by saying it is doing anything.<BR>> >> Finally,<BR>> >> I just hit cancel and it promptly stops and informs me it aborted the<BR>> >> operation, as if it been waiting all along for me to tell it to give<BR>> >> up.<BR>> >><BR>> >> Now, if I update individual files or selected files, it seems to work<BR>> >> no problem. And, I've been able to check out the whole repository,<BR>> >> and<BR>> >> yes it does take some time to pull everything down. I can also do<BR>> >> diffs<BR>> >> on selected files. I've also used it to commit a few files to the<BR>> >> repository.<BR>> >><BR>> >> So, it is working fine, except for update. Either something is amiss,<BR>> >> or I'm not doing something just right. I am about to consider going<BR>> >> back to cygwin and running its version of cvs on my tree to see if it<BR>> >> will do the update, but I seem to recall reading somewhere that is not<BR>> >> good to mix between cvs and cvsnt on the same tree.<BR>> ><BR>> > This is strange. I've never seen that myself before. A complete<BR>> > update or checkout should take several minutes via encrypted<BR>> > TCP/IP, but not longer (depending on the line bandwidth and latency,<BR>> > of course).<BR>> ><BR>> > Just today I've heard of a customer who suffers from random connection<BR>> > problems with Subversion and Windows 2000 workstations; the theory<BR>> > there<BR>> > being that some TCP/IP parameters are set very strange and the whole<BR>> > protocol stack is not up to the task in its default configuration.<BR>> > This does not happen on XT or Vista, though, who seem to have<BR>> > incorporated<BR>> > significant improvements. (It's all rather strange to me, since I'm a<BR>> > Unix person myself and used to stable networking.)<BR>> ><BR>> > So depending on your OS you might want to tweak the TCP parameters a<BR>> > little bit to see if it improves. Hard-core debugging of this problem<BR>> > will need careful use of tcpdump and produce megabytes of logs;<BR>> > but perhaps just using the cvs trace option (cvs -t up ...) will<BR>> > give some indication if there's another problem than the underlying<BR>> > connection.<BR>> ><BR>> > There's also nothing against checking out a different workspace<BR>> > with the Cygwin cvs to see if that works better. We've made good<BR>> > experiences with CVSNT though.<BR>> ><BR>> > If the problem persists, we could also try to do some tcpdumping on<BR>> > the server side (Ronny Forberger would be the one to do it), but this<BR>> > will take some preparation time.<BR>> ><BR>> > @Ronny, perhaps you've got another idea?<BR>> Maybe try to enable debug mode on the cvs core programme (cvsnt). Not<BR>> sure if dumping network traffic might help. You can also watch the cvs<BR>> command running by logging on to modula3.elegosoft.com via ssh.<BR>> <BR>> You should really first check quality of your network connection to<BR>> modula3.elegosoft.com and possibly try if update works with other<BR>> implentations of cvs.<BR>> <BR>> Cheers,<BR>> <BR>> Ronny<BR>> <BR>> - --<BR>> Ronny Forberger<BR>> Systemadministration & IT-Support<BR>> <BR>> elego Software Solutions GmbH<BR>> Gustav-Meyer-Allee 25<BR>> Gebäude 12, Raum 227<BR>> D-13355 Berlin<BR>> <BR>> Tel. +49 30 23 45 86 96 ronny.forberger at elegosoft.com<BR>> Fax +49 30 23 45 86 95 http://www.elegosoft.com<BR>> <BR>> Geschäftsführer: Olaf Wagner, Sitz Berlin<BR>> Amtsgericht Berlin-Charlottenburg, HRB 77719, USt-IdNr: DE163214194<BR>> -----BEGIN PGP SIGNATURE-----<BR>> Version: GnuPG v1.4.6 (GNU/Linux)<BR>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org<BR>> <BR>> iD8DBQFHloHdXa9RCz+1wnMRAi7uAKCLvz8DqU/SeiHr/2FGum0BWOLHNACgl6R8<BR>> mk+bxc060/81T2l4IUwpEQU=<BR>> =Xe1T<BR>> -----END PGP SIGNATURE-----<BR>> <BR><BR><br /><hr />Connect and share in new ways with Windows Live. <a href='http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_012008' target='_new'>Get it now!</a></body>
</html>