[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: Christopher Ness <chris_at_nesser.org>
Date: 2004-11-24 14:23:12 CET

On Wed, 2004-11-24 at 07:51, thomas peter wrote:
> is there a way to see all new files (not yet under versioncontrol) and add

Use `svn status`, here is the output for a LaTeX document I am
building. I only keep the "source" under SVN and not the output files.

You'll notice that the file "include/svn_version.tex" is not under
revision control. You could execute an `svn add` here if you like, but
that file is built by my Makefile so I don't want it in SVN.

Also the file modguide.tex is Modified... `svn help status` for more
info on the status chars.

[nesscg@woman src]$ svn status
? modguide.toc
? modguide.aux
? modguide_prettyprint.pdf
? modguide.log
? modguide.dvi
? modguide.ps
? include/svn_version.tex
M modguide.tex

> them before doing an 'svn commit'?

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

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.


Received on Wed Nov 24 14:26:41 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.