You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by Carl Karsten <ca...@personnelware.com> on 2004/10/29 11:19:25 UTC

svn Auto ADDing files added to a dir

Is there a way to have "svn commit" check for new files in the ?

Carl K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: svn Auto ADDing files added to a dir

Posted by Hyuns Kim <sn...@gmail.com>.
I wrote perl codes below this.

#!/usr/bin/perl
$stat = `svn stat`;
@stat = split(/\n/,$stat);
chomp(@stat);
foreach (@stat)
{
        print `svn add $1` if( $_ =~ /^\?\s+(\S+)/ );
}
print `svn commit -m"auto commit"`;
#print `svn commit @ARGV`;

But I cannot solve a problem that double-quoted messages are striped in Win2000.
Try that. :-)


On Fri, 29 Oct 2004 06:19:25 -0500, Carl Karsten <ca...@personnelware.com> wrote:
> Is there a way to have "svn commit" check for new files in the ?
> 
> Carl K
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
> For additional commands, e-mail: users-help@subversion.tigris.org
> 
> 


-- 
/*
 * Factory Automation System
 * software developer
 * Hyuns Kim
 * South Korea
 * http://hs.sumgim.net (in KOREAN)
 */

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

RE: svn Auto ADDing files added to a dir

Posted by Mark <ma...@msdhub.com>.
No, but clever usage of svn stat, grep, cut, xargs, and svn add could get
you where you want to go.

Unfortunately, I'm not that clever, but plenty of people are. Search the
archives, this isn't a new one.

Mark 

-----Original Message-----
From: Carl Karsten [mailto:carl@personnelware.com] 
Sent: Friday, October 29, 2004 5:19 AM
To: users@subversion.tigris.org; ProLinux Email List
Subject: svn Auto ADDing files added to a dir

Is there a way to have "svn commit" check for new files in the ?

Carl K

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org