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

Re: svn log -v path problems

From: Stefan Sperling <stsp_at_elego.de>
Date: Thu, 9 May 2013 18:30:03 +0200

On Thu, May 09, 2013 at 12:00:12PM -0400, Michael Decker wrote:
> Users,
>
> I am working on extracting the the files that are added and deleted using svn log -v from the koffice subversion repository.
>
> The repository is : svn://anonsvn.kde.org/home/kde/trunk/koffice/
>
> The specific problem is at.
>
> svn log -v -r 438825
>
> The problem is that a directory was renamed. So it lists it as deleted and added.
>
> D /trunk/koffice/krita/plugins/filterspreview
>
> A /trunk/koffice/krita/plugins/filtersgallery
>
> There were other files in the directory that were deleted, but they have the wrong directory name
> D /trunk/koffice/krita/plugins/filtersgallery/kis_dlg_filterspreview.cc
>
> Thank You
> Decker

I'm not entirely sure what your question is.
You were saying you want to 'extract' files. What does that mean exactly?

Perhaps you are simply confused by the output produced by 'svn log -v'
and you want an explanation?

Here's the output, for reference:

$ svn log -v -r438825 svn://anonsvn.kde.org/home/kde/trunk/koffice/
------------------------------------------------------------------------
r438825 | berger | 2005-07-26 10:31:46 +0200 (Tue, 26 Jul 2005) | 2 lines
Changed paths:
   M /trunk/koffice/krita/plugins/Makefile.am
   A /trunk/koffice/krita/plugins/filtersgallery (from /trunk/koffice/krita/plugins/filterspreview:438097)
   R /trunk/koffice/krita/plugins/filtersgallery/Makefile.am (from /trunk/koffice/krita/plugins/filterspreview/Makefile.am:438604)
   A /trunk/koffice/krita/plugins/filtersgallery/filters_gallery.cc (from /trunk/koffice/krita/plugins/filterspreview/filterspreview.cc:436897)
   A /trunk/koffice/krita/plugins/filtersgallery/filters_gallery.h (from /trunk/koffice/krita/plugins/filterspreview/filterspreview.h:436897)
   D /trunk/koffice/krita/plugins/filtersgallery/filterspreview.cc
   D /trunk/koffice/krita/plugins/filtersgallery/filterspreview.h
   A /trunk/koffice/krita/plugins/filtersgallery/kis_dlg_filtersgallery.cc (from /trunk/koffice/krita/plugins/filterspreview/kis_dlg_filterspreview.cc:436897)
   A /trunk/koffice/krita/plugins/filtersgallery/kis_dlg_filtersgallery.h (from /trunk/koffice/krita/plugins/filterspreview/kis_dlg_filterspreview.h:436897)
   D /trunk/koffice/krita/plugins/filtersgallery/kis_dlg_filterspreview.cc
   D /trunk/koffice/krita/plugins/filtersgallery/kis_dlg_filterspreview.h
   R /trunk/koffice/krita/plugins/filtersgallery/kis_filters_listview.cc (from /trunk/koffice/krita/plugins/filterspreview/kis_filters_listview.cc:438604)
   R /trunk/koffice/krita/plugins/filtersgallery/kis_filters_listview.h (from /trunk/koffice/krita/plugins/filterspreview/kis_filters_listview.h:438604)
   A /trunk/koffice/krita/plugins/filtersgallery/kritafiltersgallery.rc (from /trunk/koffice/krita/plugins/filterspreview/kritafilterspreview.rc:437923)
   D /trunk/koffice/krita/plugins/filtersgallery/kritafilterspreview.rc
   D /trunk/koffice/krita/plugins/filterspreview

change name of a plugin filterspreview to filtersgallery

------------------------------------------------------------------------

This looks like a rename of a directory which is a mixed-revision working
copy, see http://svnbook.red-bean.com/en/1.7/svn.basic.in-action.html#svn.basic.in-action.mixedrevs

A rename is represented as a copy and a delete.
When a mixed-revision tree is copied, the root node is copied first, and
then children are added/deleted to the copy as necessary to ensure that
the committed result matches the configuration of the mixed-revision
working copy.

Usually, a rename like the above would be made without a working copy,
by passing URL arguments to svn copy. Or it could be made with a
single-revision working copy. In either case, 'svn log -v' would show
just two entries, like this:

   D /trunk/koffice/krita/plugins/filterspreview
   A /trunk/koffice/krita/plugins/filtersgallery (from /trunk/koffice/krita/plugins/filterspreview:438097)

Does this help you?
Received on 2013-05-09 18:30:39 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.