You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@subversion.apache.org by "Bax, Arjen" <AB...@AEGON.NL> on 2005/03/29 13:19:01 UTC

RE: List of files that were changed during update/checkout/revert ?

Dirk Schenkewitz writes:

> is it possible to get a list of all files that were changed
> during an update/checkout/revert ?

svn log -v -rRevision
http://svnbook.red-bean.com/en/1.1/ch03s06.html#svn-ch-3-sect-6.1

HTH,
Arjen Bax
-- 
Violence is the last refuge of the incompetent - Isaac Asimov

RE: List of files that were changed during update/checkout/revert ?

Posted by Dale Worley <dw...@pingtel.com>.
> From: Dirk Schenkewitz [mailto:schenkewitz@docomolab-euro.com]
>
> Sorry, I forgot something important, I mean "... a list of all
> files that were changed *in my WC* during an update/checkout/
> revert"

Don't "svn update" and "svn checkout" already tell you that (unless you
specify -q)?

As for "svn revert", normally it's non-recursive, so you already know what
file it changed.  (If you specify -N, I don't know if it will list the
files.)

Dale


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org

Re: List of files that were changed during update/checkout/revert ?

Posted by Dirk Schenkewitz <sc...@docomolab-euro.com>.
Mr. Bax,

Bax, Arjen wrote:
> 
> 
> Dirk Schenkewitz writes:
> 
>  > is it possible to get a list of all files that were changed
>  > during an update/checkout/revert ?

Sorry, I forgot something important, I mean "... a list of all
files that were changed *in my WC* during an update/checkout/
revert"

> svn log -v -rRevision
> http://svnbook.red-bean.com/en/1.1/ch03s06.html#svn-ch-3-sect-6.1

After some test I don't believe that this does not do what I want.
Say, someone else changes a file and does a checkin to the project
I'm working on. When I do a 'svn log -v -rHEAD' after that, it
shows the lates change *in the repository*, but there was no change
in my WC yet.

When I do a 'svn update' (which updates the file (in my WC) that
was changed by the other person) and do a 'svn log -v -rRevision'
afterwards, it shows the same, so this is not related to the change
in my WC.

During the tests I discovered that update, checkout and revert
report the paths of the files (and dirs) they changed. Looks like
the simplest thing is to put a wrapper around svn that looks for
these lines and writes them into a file, after some processing.
A bit unconvenient but possible.

> HTH,
> Arjen Bax
> -- 
> Violence is the last refuge of the incompetent - Isaac Asimov

:-) Yes it is.
Have fun.
   Dirk

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org