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

Re: ran get-location-segments.py returns 0

From: Stefan Sperling <stsp_at_elego.de>
Date: Sun, 19 Feb 2012 13:36:52 +0100

On Sun, Feb 19, 2012 at 08:37:24AM +0000, Rokhkin, IlyaX wrote:
> Hi Stefan,
>
> Files were replaced (R) by merge, because they have 2 different ID, so one file with its history is deleted
> The idea is to find those deleted file with history

If I replace a file called 'alpha' and commit the replacement, and then
view the resulting commit with 'svn log --xml -v', it shows the replacement:

  $ svn log -l1 --xml -v
  <?xml version="1.0" encoding="UTF-8"?>
  <log>
  <logentry
     revision="3">
  <author>stsp</author>
  <date>2012-02-19T12:33:40.763738Z</date>
  <paths>
  <path
     kind="file"
     action="R">/trunk/alpha</path>
  </paths>
  <msg>m</msg>
  </logentry>
  </log>

So when parsing the XML output you can look for 'path' entries
where 'action' is 'R'.

Does this help you?
Received on 2012-02-19 13:37:33 CET

This is an archived mail posted to the Subversion Users mailing list.