[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: SVN commands fails due to 32k char lenght restriction on Windows.

From: David Weintraub <qazwart_at_gmail.com>
Date: Mon, 15 Dec 2008 14:06:23 -0500

I forgot to forward this to the list...

> For some reason, I dont want to include all the files in a folder.
> Like I am adding some new files and they are spread in different
> folder

You should look at changelists which are a new option with 1.5.

You can add a bunch of files to a changelist, or create multiple
changelists, then only commit the files that are part of that
changelist.

See the "svn changelist -h" command for information about creating a
changelist. Let's assume you put all of your modified files in a
changelist called "modified_files", you could run your commit like
this:

$ svn commit --changelist modified_files

On Mon, Dec 15, 2008 at 5:10 AM, Sachin Deshapnde <SVD_at_live.in> wrote:
> Hello Bob,
>
>
> For some reason, I dont want to include all the files in a folder. Like
> I am adding some new files and they are spread in different folder ... also
> modifiying a big chunk of files ... now i dont want to commit added files
> but only modified one.
>
> Sachin.
>
> ________________________________
> Subject: RE: SVN commands fails due to 32k char lenght restriction on
> Windows.
> Date: Fri, 12 Dec 2008 13:59:28 -0500
> From: Bob.Archer_at_amsi.com
> To: SVD_at_live.in; users_at_subversion.tigris.org
>
>
> Is there a reason you need to list all of the files to commit. If you just
> do a commit it will include everything in the current directory and down.
>
>
>
> ________________________________
>
> From: Sachin Deshapnde [mailto:SVD_at_live.in]
> Sent: Friday, December 12, 2008 4:37 AM
> To: users_at_subversion.tigris.org
> Subject: SVN commands fails due to 32k char lenght restriction on Windows.
>
>
>
> Hello,
>
> I am using SVN command line client 1.5.2 on windows.
> I am trying fire SVN command line commands through another program
> written in C++ - QT (using QProcess).
> But due to 32K char length limitation of Windows Command line, I can
> not able to execute SVN commands if the command line crosses 32K chars.
> eg. if i want to commit 500 files with file name length more than 70
> chars. SVN Command fails.
>
> Is there any way by which we can specify all the file names in a file
> and use that text file to commit all the files.
> Its something like "svn commit --file filelist.txt". Or can you
> suggest me any other solution.
>
> This type of handling is there in javac.
>
> Thanking you,
> Sachin.
>
> ________________________________
>
> Some big movies will hit the screen this Christmas. Catch all the previews
> and promos on MSN Entertainment Try it!
>
> ________________________________
> Give your grey cells a workout. Participate and win prizes. Check out the
> MSN Contests channel. Try it now!

--
--
David Weintraub
qazwart_at_gmail.com
-- 
--
David Weintraub
qazwart_at_gmail.com
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=984614
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2008-12-15 20:12:43 CET

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.