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

Re: Generic Checkin

From: Jeremy Pereira <jeremyp_at_jeremyp.net>
Date: 2006-08-31 00:03:17 CEST

On 30 Aug 2006, at 14:25, Ryan Schmidt wrote:

> On Aug 30, 2006, at 14:58, Jeremy Pereira wrote:
>> On 29 Aug 2006, at 03:39, Res Pons wrote:
>>> I'm having difficulty committing all the files in a top level
>>> directory/working folder and its subfolders and their files just
>>> by traversing to the working folder's top folder and executing
>>> the following:
>>> c:\>cd workingFolder
>>> c:\workingFolder>svn ci * -m "comment"
>>> Is this not the correct syntax? Help please. Thanks.
>> No, it's not. The file list needs to be after the -m switch:
>> svn ci -m "comment" *
> Well, that's not true -- Subversion is very forgiving about the
> order of the command-line arguments. Both your way and Res's way
> accomplish the same thing.
>> It's also unnecessary since an empty file list is assumed to mean "*"
> Consequences of this are the real reason Res was having problems,
> as discussed in previous replies.

I do apologise, maybe I'm confusing svn and cvs :-)

However, my test did bail out because it found an unversioned
directory, so * is not the same as the empty file list, which is
logical since it is expanded before svn sees the arguments..

jeremyp@miranda:mp6502 $svn status
X defs
M make-docs.sh

Performing status on external item at 'defs'
jeremyp@miranda:mp6502 $svn ci * -m "Testing order of arguments"
svn: '/Users/jeremyp/dev/mp6502/build' is not a working copy
jeremyp@miranda:mp6502 $svn ci -m "Testing order of arguments"
Sending make-docs.sh
Transmitting file data .
Committed revision 584.

(The directory "build" is in the svn:ignore prop for the current
directory which is why it didn't show up in the svn status)


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 31 00:10:46 2006

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.