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

Re: how to find what would be updated: status --show-updates not enough

From: Erik Huelsmann <ehuels_at_gmail.com>
Date: 2006-10-12 19:40:34 CEST

On 10/12/06, Joe Hannon <jhannon@seattlemortgage.com> wrote:
> Hi-
>
> So when you do an svn update, as it updates, it responds with information like
> A /svntest/test4.txt
>
> with a flag that tells you whether the updated file was added, deleted, updated, in conflict, or merged. I want to get this information without actually doing the updates. Confusingly, svn update --dry-run does not work. The mailing list taught me that the command is svn status --show-updates. However, svn status --show-updates tells you about what files in your working copy will be modified only. It won't say whether the modification is an update, delete, addition, etc. Is there a way to get this information without actually doing the update?

svn status --show-updates --xml

The xml includes segments like these (from my trunk subversion working copy):

<entry
   path="subversion/tests/cmdline/svneditor.py">
<wc-status
   props="none"
   item="none">
</wc-status>
<repos-status
   props="added"
   item="added">
</repos-status>
</entry>

HTH,

Erik.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Oct 12 19:41:44 2006

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.