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

RE: help with svn:ignore

From: Bob Archer <Bob.Archer_at_amsi.com>
Date: Thu, 12 Dec 2013 20:11:06 +0000

> I am using Subversion 1.6.11-10 on Red Hat Enterprise 5.8. The repository is
> strictly for RANCID and I recently renamed several files in my repository with
> the "svn move" command. After making these changes I found that I can no
> longer see the file history for the renamed files in my repository viewer,
> OpenGrok. I have checked out an updated copy of the repository and
> cleared the OpenGrok caches but still cannot see historical revisions. I
> executed an "svn log" for the repo with the following results.
>
> ------------------------------------------------------------------------
> r2044 | rancid | 2013-12-11 17:38:10 +0000 (Wed, 11 Dec 2013) | 1 line new
> router
> ------------------------------------------------------------------------
> r2043 | rancid | 2013-12-10 22:31:13 +0000 (Tue, 10 Dec 2013) | 1 line updates
> ------------------------------------------------------------------------
> r2042 | rancid | 2013-12-10 20:56:41 +0000 (Tue, 10 Dec 2013) | 1 line updates
> ------------------------------------------------------------------------
> r2041 | rancid | 2013-12-10 20:34:13 +0000 (Tue, 10 Dec 2013) | 1 line set
> svn:ignores
> ------------------------------------------------------------------------
> r3 | rancid | 2013-12-10 19:04:29 +0000 (Tue, 10 Dec 2013) | 1 line new
>
> Newer revisions show updates or new router (new file) and there is history
> for all revisions past r2041. I executed "svn propdel svn:ignore --revprop -r
> 2041 file:///opt/rancid/archives/SVN/CISCO/" and received a message of
> "property 'svn:ignore' deleted from repository revision 2041". I then update
> my RANCID working copy on the server with "svn update" and check out the
> changes for OpenGrok but I still cannot see historical changes. The changes
> are in the repository because I can execute "svn cat
> file:///opt/rancid/archives/SVN/CISCO/configs/router1 -r1663" to see the
> historical file.
>
> Can someone help me find a way to remove the svn:ignore that has been set
> at revision 2041?

You can't remove versioned properties. Changes to those properties are part of the history of the file/path just like the changes made to the file. It is not a revprop.
That said, svn ingnore doesn't affect stuff that is in the repository already. So, I don't think that is your problem. Also, the property affects when stuff is added.

When you did the move, did you commit both the ADD and the DELETE? You can verify by looking at the commit info.

Does OpenGrock perhaps automatically include a "--stop-on-copy" for the log command?

BOb
Received on 2013-12-12 21:11:41 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.