[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: Rokhkin, IlyaX <ilyax.rokhkin_at_intel.com>
Date: Sun, 19 Feb 2012 12:44:55 +0000

Yes, it helps
But the issue more complicated
We have hundred such files in the repo, and we do not know the names, we want to find all those files that were replaced (R)
In collabnet they said me that get-location-segments.py can find all such files in the repo

Ilya Rokhkin
Configuration Management Engineer
Intel - Data, storage and SW Team
iNET: 8-920-6165
Tel: +972-3-9296165

-----Original Message-----
From: Stefan Sperling [mailto:stsp_at_elego.de]
Sent: Sunday, February 19, 2012 14:37
To: Rokhkin, IlyaX
Cc: users_at_subversion.apache.org
Subject: Re: ran get-location-segments.py returns 0

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"?>

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

Does this help you?
Intel Israel (74) Limited

This e-mail and any attachments may contain confidential material for
the sole use of the intended recipient(s). Any review or distribution
by others is strictly prohibited. If you are not the intended
recipient, please contact the sender and delete all copies.
Received on 2012-02-19 13:45:47 CET

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.