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

Re: [bug?]svn -N ci -m 'text' does not commit a single file

From: Ben Collins-Sussman <sussman_at_red-bean.com>
Date: 2007-03-15 15:19:10 CET

On 3/15/07, alexander poddey <alexander.poddey@tu-clausthal.de> wrote:
> Hallo,
> I posted this question in the SVN Forum, and the users list, but did not get
> an answer....
>
> I'm working on a svn based backupsystem. There I need to commit nonrecursively
> all files within a directory.
>
> svn -N ci -m 'text' does not commit a single file.
> Is this a bug or ame i overlooking something?

'svn commit -N .' only affects the '.' directory itself, i.e. "depth
0". At the moment, there's no way to specify "just immediate
children" (depth 1). However, Karl Fogel is working on a new feature
that makes the working copy aware of certain depths, so perhaps
someday 'svn commit' can take --depth arguments.

> my problem is, that some users have blanks in the filenames. a call using
> filelist leads to errors, because svn handles the files with blanks as
> separate files.

Use quotation marks: svn commit "file with space.txt"

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Mar 15 15:19:39 2007

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