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

Re: Determining locally modified files

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2004-02-03 14:56:30 CET

> Not sure if this helps, but it sounds like you're describing what you
> can get via the 'svnversion' command.

By definition, 'svn up' will force your working copy to be all at the
same working revision. And beyond that, 'svn status' will tell you if
any working files are locally modified. If 'svn status' is silent, you
have no local mods.

But the easiest way to check both things is to run the 'svnversion'
program on the root of your working copy: if it prints a single
revision number which is *not* followed by an "M", then you know your
working copy is at one revision with no local mods.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Tue Feb 3 14:57:16 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.