[prev in list] [next in list] [prev in thread] [next in thread] 

List:       subversion-users
Subject:    Re: Generic Checkin
From:       Jeremy Pereira <jeremyp () jeremyp ! net>
Date:       2006-08-30 22:03:17
Message-ID: 9AFC8D51-9ECE-4F10-AAA3-1C2275A160F3 () jeremyp ! net
[Download RAW message or body]


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic