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

Re: add while commit

From: thomas peter <thomas.peter_at_antas.com>
Date: 2004-11-24 14:48:05 CET

hi christopher, hi jani,

Christopher Ness <chris@nesser.org> wrote in
news:1101302592.4036.46.camel@woman.localdomain:

> Use `svn status`, here is the output for a LaTeX document I am

ohh, i should have opened my eyes. thank you, and jani!

> If you have may new files that need to be added doing that all by hand
> wouldn't be fun.

for i in $(svn st -v | grep '^?' | awk '{ print $2 }'); do svn add $i; done
was the one i was looking for.

> You could do some filtering on the output of status (Jani just gave
> the grep line), but how you go about adding the files is up to you
> since you may not want every unknown file to be added to the
> repository.

i'm just wondering why 'svn import $DIR' missed these files...

anyway.

thanx again,
thomas

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Nov 24 14:50:33 2004

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.