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

RE: Need to run an SVN Update which preserves local changes

From: Giulio Troccoli <giulio.troccoli_at_uk.linedata.com>
Date: Wed, 29 Jul 2009 14:22:18 +0100

>

Linedata Services (UK) Ltd
Registered Office: Bishopsgate Court, 4-12 Norton Folgate, London, E1 6DB
Registered in England and Wales No 3027851 VAT Reg No 778499447

-----Original Message-----

> From: Alexander Maw [mailto:icouldntgetagoodname_at_gmail.com]
> Sent: 29 July 2009 14:19
> To: users_at_subversion.tigris.org
> Subject: RE: Need to run an SVN Update which preserves local changes
>
> It just occurred to me that I might preserve locally changed
> files by having a script identify and backup locally changed
> files and restore them after the SVN update, is there an SVN
> command to output if a file has local changes?
>

Yes, it's svn status. The output is easily parsable. It also have a --xml switch if you prefer an XML output.

I have to say, I feel like you would benefit from reading the fine SVN Book. You can find it at http://svnbook.red-bean.com

Giulio

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=1065&dsMessageId=2376596

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_subversion.tigris.org].
Received on 2009-07-29 15:23:15 CEST

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.