From: Jason K. <jk...@la...> - 2008-11-24 15:30:11
|
1 - The log has always behaved that way, and it is good to confirm that what we are trying to monitor is in there. The app should infer the contents of the directory when it is moved from previous log entries and the current file system in that folder. I do believe there are limitations when content of the new folder is deleted after the move, but this doesn`t seem to be your case. 2 - If you excluded the old directory only, I was curious to see if this changed anything, but I guess not. At this point, you can try using the -dump option to figure out what data we are picking up, but I don't have any suggestions as to why it is behaving this way. It does appear you have hit a fringe case (bug or limitation), but what I've seen up to date, your scenario should be supported so there must be something else at play. If you can figure out how to repro it using a tiny shareable repository, that could be great. Jason On Mon, Nov 24, 2008 at 2:44 AM, Alex5 < ale...@mi...> wrote: > > Hello Jason Kealey, > > the svn log (svn 1.5.4) does not contain the files of the moved folder, > that > have not been changed since the move operation. The log only contains the > moved directory: > > <logentry > revision="1234"> > <author>abc</author> > <date>2008-11-13T08:54:25.978873Z</date> > <paths> > <path > action="D">/trunk/sub/movedDir/src</path> > <path > copyfrom-path="/trunk/sub/movedDir/include" > copyfrom-rev="1233" > action="A">/trunk/movedDir/include</path> > <path > copyfrom-path="/trunk/sub/movedDir/src" > copyfrom-rev="1233" > action="A">/trunk/movedDir/src</path> > <path > action="D">/trunk/sub/movedDir/include</path> > </paths> > <msg>Move the movedDir directory</msg> > </logentry> > > If I exclude the moved directory (old and new position) I get the correct > svn statistics for my repository excluding the moved directory. Actually > the > moved directory is the part of the repository I am mostly interested at > :-). > > Best regards > > Alex > > > > Jason Kealey-2 wrote: > > > > Two questions: > > 1 - Does your svn log contain entries for these files after move. > > 2 - what if you run statsvn with an exclude for only that folder, do you > > get > > some data? > > > > > > Thanks, > > -- > > Jason Kealey - jk...@la... > > LavaBlast Franchise Software - http://www.lavablast.com > > Simplifying day-to-day franchise operations > > > > On Fri, Nov 21, 2008 at 6:34 AM, Alex5 < > > ale...@mi...> wrote: > > > >> > >> Hi, > >> > >> I am trying to use StatSVN on a repository containing a moved directory. > >> In > >> this forum I have read several times that StatSVN would handle those > >> moved > >> files like deleted and afterwards added files. This behavior would be > >> sufficient for me at the moment. But I am seeing the following behavior: > >> > >> Files that have not been modified after the directory move operation do > >> not > >> appear on the directories statistics main page (index.html) and they are > >> also not included in the current LOC count. > >> > >> The local copy of the repository is the same version, the svn log was > >> created from. > >> > >> Do you have any ideas on how to solve my problems and getting correct > >> statistic information? > >> > >> Best regards > >> > >> Alex > >> > >> > >> > >> -- > >> View this message in context: > >> > http://n2.nabble.com/StatSVN-does-not-count-the-LOC-of-Files-contained-in-a-moved-directory-tp1561385p1561385.html > >> Sent from the StatSVN Users mailing list archive at Nabble.com. > >> > >> > >> > ------------------------------------------------------------------------- > >> This SF.Net email is sponsored by the Moblin Your Move Developer's > >> challenge > >> Build the coolest Linux based applications with Moblin SDK & win great > >> prizes > >> Grand prize is a trip for two to an Open Source event anywhere in the > >> world > >> http://moblin-contest.org/redirect.php?banner_id=100&url=/ > >> _______________________________________________ > >> Statsvn-users mailing list > >> Sta...@li... > >> https://lists.sourceforge.net/lists/listinfo/statsvn-users > >> > >> > > > > ------------------------------------------------------------------------- > > This SF.Net email is sponsored by the Moblin Your Move Developer's > > challenge > > Build the coolest Linux based applications with Moblin SDK & win great > > prizes > > Grand prize is a trip for two to an Open Source event anywhere in the > > world > > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > > _______________________________________________ > > Statsvn-users mailing list > > Sta...@li... > > https://lists.sourceforge.net/lists/listinfo/statsvn-users > > > > > > -- > View this message in context: > http://n2.nabble.com/StatSVN-does-not-count-the-LOC-of-Files-contained-in-a-moved-directory-tp1561385p1571239.html > Sent from the StatSVN Users mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------- > This SF.Net email is sponsored by the Moblin Your Move Developer's > challenge > Build the coolest Linux based applications with Moblin SDK & win great > prizes > Grand prize is a trip for two to an Open Source event anywhere in the world > http://moblin-contest.org/redirect.php?banner_id=100&url=/ > _______________________________________________ > Statsvn-users mailing list > Sta...@li... > https://lists.sourceforge.net/lists/listinfo/statsvn-users > > -- Jason Kealey - jk...@la... LavaBlast Franchise Software - http://www.lavablast.com Simplifying day-to-day franchise operations |