[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Help: Protocol error: too many arguments
From: |
Dennis Jones |
Subject: |
Re: Help: Protocol error: too many arguments |
Date: |
Wed, 16 May 2007 17:00:50 GMT |
"Arthur Barrett" <address@hidden> wrote in message
news:address@hidden
Quin An,
> My client is Concurrent Versions System
> (CVS) 1.11.5.1 (client) on WinXP.
> Most people on XP use CVSNT (Free/GPL just like CVS).
> TortoiseCVS and WinCVS both include it as the default client.
Well, I get the exact same error when trying to commit large numbers of
files in a single commit (like when I want to add/commit the latest version
of Boost to my repository). I use CVS 1.11.22 (the latest stable branch) on
both server (FreeBSD) and client (Win32). I don't use WinCVS (yuck) but
TortoiseCVS also has the same problem. At least now I can see that I am not
the only one experiencing it.
I worked around the problem by writing a script (batch file) that
recursively processes the folders and invokes a command (such as 'cvs ci -m
"my commit message"'). This keeps the commits small enough to avoid the
problem. My batch file looks like this:
@echo off
if "%1" == "" (
echo Missing command.
echo Syntax: recurse_do [command]
goto :eof
)
setlocal
for /D %%D in (*) do (
if not "%%D" == "CVS" (
REM echo Entering %%D...
pushd %%D
call recurse_do.bat %*
%*
REM echo Leaving %%D...
popd
)
)
%*
...which I invoke like this (from the top level folder)
recurse_do cvs ci -m "my commit message"
- Dennis
- Help: Protocol error: too many arguments, An Qin, 2007/05/15
- RE: Help: Protocol error: too many arguments, Arthur Barrett, 2007/05/15
- Re: Help: Protocol error: too many arguments,
Dennis Jones <=
- RE: Help: Protocol error: too many arguments, Arthur Barrett, 2007/05/16
- Re: Help: Protocol error: too many arguments, Dennis Jones, 2007/05/21
- RE: Help: Protocol error: too many arguments, Arthur Barrett, 2007/05/22
- Re: Help: Protocol error: too many arguments, Dennis Jones, 2007/05/22