lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Uwe Schindler" <...@thetaphi.de>
Subject RE: losing history
Date Tue, 16 Jun 2009 06:05:38 GMT
I think the problem here is that the file was not renamed in SVN. As patches
in JIRA normally do not contain the rename (because they cannot applied with
all actions like renames automatically done), I think the rename got lost.
Renames only work correct, if the person who did the rename in his local
repository also commits the change.

If you want to see the old directory names, go into web SVN view and show
the directory log of the directory where the file was in. Or just specify
the revision number and start browsing in this old version.

Normally SVN renames should work like this: see commit 784981
Here you can see the history is preserved, but only because I did the
move/rename locally and committed from my own computer. To view the full
history do not specify "stop on copy/rename".

-----
Uwe Schindler
H.-H.-Meier-Allee 63, D-28213 Bremen
http://www.thetaphi.de
eMail: uwe@thetaphi.de

> -----Original Message-----
> From: yseeley@gmail.com [mailto:yseeley@gmail.com] On Behalf Of Yonik
> Seeley
> Sent: Tuesday, June 16, 2009 2:24 AM
> To: java-dev@lucene.apache.org
> Subject: losing history
> 
> I thought SVN's rename was supposed to preserve history?
> I just wanted to look up the history of MultiTermEnum, and when I went
> to the file (now in DirectoryReader renamed from MultiSegmentReader)
> but all the history is gone before the last rename.  IntelliJ and "svn
> log" both showed only 3 versions.
> 
> Could I at least get it by specifying the old name from the command
> line?  guess not...
> $ svn log ./src/java/org/apache/lucene/index/MultiSegmentReader.java
> svn: 'src/java/org/apache/lucene/index/MultiSegmentReader.java' is not
> under version control
> 
> 
> tips?
> 
> -Yonik
> http://www.lucidimagination.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
> For additional commands, e-mail: java-dev-help@lucene.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: java-dev-help@lucene.apache.org


Mime
View raw message