You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Prashant Shukla <of...@gmail.com> on 2009/04/03 12:13:44 UTC

Multiple svn updates by reading a file.

Hi All,

I am new bee to Subversion.and I would like to do the multiple svn  updates
by reading a file where we already have listed the files.

So , Do we have any command/tool to achieve this?


-Prashant

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1531839

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Multiple svn updates by reading a file.

Posted by Andy Levy <an...@gmail.com>.
On Fri, Apr 3, 2009 at 08:13, Prashant Shukla
<of...@gmail.com> wrote:
> Hi All,
>
> I am new bee to Subversion.and I would like to do the multiple svn  updates
> by reading a file where we already have listed the files.
>
> So , Do we have any command/tool to achieve this?

svn up can only process a path, not a file. You would have to write a
script around svn up to read that file and call svn up for each.

Why can't you just svn up the parent folder(s)?

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1532138

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].


RE: Multiple svn updates by reading a file.

Posted by Paul Koning <Pa...@dell.com>.
>>>>> "Bob" == Bob Archer <bo...@amsi.com> writes:

 Bob> I assume you mean commit not update. You can specify the files
 Bob> that you can to comment. I am pretty sure you can pipe in a text
 Bob> file that lists the files/paths. There was a thread here
 Bob> somewhere about how to do it.

 Bob> Something like

 Bob> svn ci < filelist.txt

Don't know about that, but this works:

      svn ci `cat filelist.txt`

Standard Unix shell backquote convention.  I like to make the filelist
from "svn status" output, like this:

     svn status > statuslist.txt
     fgrep -v \? statuslist.txt | sed -e '^/......//' > filelist.txt
     svn diff `cat filelist.txt`

Also, somewhere int his process I verify the statuslist to make sure it
doesn't contain a file that I don't want to check in at this point (or
is missing a file that should be checked in, for example one with "?"
status instead of "A" status).

       paul

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1532986

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Multiple svn updates by reading a file.

Posted by Andy Levy <an...@gmail.com>.
On Fri, Apr 3, 2009 at 11:33, Prashant Shukla
<of...@gmail.com> wrote:
> I meant Update. and We had different people working on the same directory
> but on the different files.So It would not be a solution to update the
> parent dir.

You should not have multiple users sharing a working copy in the first
place. Doing so negates many of the reasons for and benefits of using
Subversion.

> On Fri, Apr 3, 2009 at 8:20 PM, Bob Archer <Bo...@amsi.com> wrote:
>>
>> I assume you mean commit not update. You can specify the files that you
>> can to comment. I am pretty sure you can pipe in a text file that lists the
>> files/paths. There was a thread here somewhere about how to do it.
>>
>>
>>
>> Something like
>>
>>
>>
>> svn ci < filelist.txt
>>
>>
>>
>> BOb
>>
>>
>>
>>
>>
>> ________________________________
>>
>> From: Prashant Shukla [mailto:official.prashant@gmail.com]
>> Sent: Friday, April 03, 2009 8:14 AM
>> To: users@subversion.tigris.org
>> Subject: Multiple svn updates by reading a file.
>>
>>
>>
>> Hi All,
>>
>> I am new bee to Subversion.and I would like to do the multiple svn
>> updates by reading a file where we already have listed the files.
>>
>> So , Do we have any command/tool to achieve this?
>>
>>
>> -Prashant
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1533497

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Multiple svn updates by reading a file.

Posted by Les Mikesell <le...@gmail.com>.
Bob Archer wrote:
> Ok, users should not be sharing a working copy. That is an anti-pattern 
> here.

And they should probably be updating and committing often so that doing 
a full update never becomes a problem.  If you ever need to make the 
kind of changes where this is a problem, you probably want a branch to 
isolate them for a while.

-- 
    Les Mikesell
     lesmikesell@gmail.com

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1533883

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Multiple svn updates by reading a file.

Posted by Bob Archer <bo...@amsi.com>.
Ok, users should not be sharing a working copy. That is an anti-pattern
here. 

 

BOb

 

 

________________________________

From: Prashant Shukla [mailto:official.prashant@gmail.com] 
Sent: Friday, April 03, 2009 11:34 AM
To: Bob Archer
Cc: users@subversion.tigris.org
Subject: Re: Multiple svn updates by reading a file.

 

I meant Update. and We had different people working on the same
directory but on the different files.So It would not be a solution to
update the parent dir.

On Fri, Apr 3, 2009 at 8:20 PM, Bob Archer <Bo...@amsi.com> wrote:

I assume you mean commit not update. You can specify the files that you
can to comment. I am pretty sure you can pipe in a text file that lists
the files/paths. There was a thread here somewhere about how to do it.

 

Something like

 

svn ci < filelist.txt

 

BOb

 

 

________________________________

From: Prashant Shukla [mailto:official.prashant@gmail.com] 
Sent: Friday, April 03, 2009 8:14 AM
To: users@subversion.tigris.org
Subject: Multiple svn updates by reading a file.

 

Hi All,

I am new bee to Subversion.and I would like to do the multiple svn
updates by reading a file where we already have listed the files.

So , Do we have any command/tool to achieve this?


-Prashant

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1533645

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

Re: Multiple svn updates by reading a file.

Posted by Prashant Shukla <of...@gmail.com>.
I meant Update. and We had different people working on the same directory
but on the different files.So It would not be a solution to update the
parent dir.

On Fri, Apr 3, 2009 at 8:20 PM, Bob Archer <Bo...@amsi.com> wrote:

>  I assume you mean commit not update. You can specify the files that you
> can to comment. I am pretty sure you can pipe in a text file that lists the
> files/paths. There was a thread here somewhere about how to do it.
>
>
>
> Something like
>
>
>
> svn ci < filelist.txt
>
>
>
> BOb
>
>
>
>
>   ------------------------------
>
> *From:* Prashant Shukla [mailto:official.prashant@gmail.com]
> *Sent:* Friday, April 03, 2009 8:14 AM
> *To:* users@subversion.tigris.org
> *Subject:* Multiple svn updates by reading a file.
>
>
>
> Hi All,
>
> I am new bee to Subversion.and I would like to do the multiple svn  updates
> by reading a file where we already have listed the files.
>
> So , Do we have any command/tool to achieve this?
>
>
> -Prashant
>

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1533384

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].

RE: Multiple svn updates by reading a file.

Posted by Bob Archer <bo...@amsi.com>.
I assume you mean commit not update. You can specify the files that you
can to comment. I am pretty sure you can pipe in a text file that lists
the files/paths. There was a thread here somewhere about how to do it.

 

Something like

 

svn ci < filelist.txt

 

BOb

 

 

________________________________

From: Prashant Shukla [mailto:official.prashant@gmail.com] 
Sent: Friday, April 03, 2009 8:14 AM
To: users@subversion.tigris.org
Subject: Multiple svn updates by reading a file.

 

Hi All,

I am new bee to Subversion.and I would like to do the multiple svn
updates by reading a file where we already have listed the files.

So , Do we have any command/tool to achieve this?


-Prashant

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=1532950

To unsubscribe from this discussion, e-mail: [users-unsubscribe@subversion.tigris.org].