Problem with stats generated from a branch

4 messages Options
Embed this post
Permalink
cmhinnen

Problem with stats generated from a branch

Reply Threaded More More options
Print post
Permalink
I am trying to generate stats on a branch and am having a problem with the results.  Here is my situation.  We are trying to get the stats between 2 releases.  We have the trunk, and when we are considered code complete we do a branch for that release.  After testing and some fixes we then release off of that branch.  Coding for the next release will now start in the trunk also.  What I am trying to do is get stats between releases.  I get the revision number of the last release and the current revision number of the branch.  I then do a subversion log between these two revision numbers.  I look in the log file and all of the changes between those releases are in the log file.  It gets me the changes from before the branch in the trunk as well as the changes in the branch.  However, when I ran statsvn against this subversion log file it only gave me the changes since the branch was made, not the changes that had ocurred since the last release in the trunk before we did the branch.  Is there a way to also get these changes.  These changes are in the subversion log file that was generated so I assumed statsvn just outputted everything that was in this file.  Am I doing something wrong and how do I get statsvn to output the changes from before the branch as well.

Thanks,

Chris
Jason Kealey-2

Re: Problem with stats generated from a branch

Reply Threaded More More options
Print post
Permalink
Apologies for not responding sooner. I thought someone else would reply. 

From what I can see, you are trying to do an unsupported scenario, unfortunately. StatSVN doesn`t currently support proper statistics on svn copies (branching, tagging, merging). It doesn`t move back up from the original copy that created the branch.

Thanks,
Jason

On Tue, Jan 27, 2009 at 11:05 AM, cmhinnen <[hidden email]> wrote:

I am trying to generate stats on a branch and am having a problem with the
results.  Here is my situation.  We are trying to get the stats between 2
releases.  We have the trunk, and when we are considered code complete we do
a branch for that release.  After testing and some fixes we then release off
of that branch.  Coding for the next release will now start in the trunk
also.  What I am trying to do is get stats between releases.  I get the
revision number of the last release and the current revision number of the
branch.  I then do a subversion log between these two revision numbers.  I
look in the log file and all of the changes between those releases are in
the log file.  It gets me the changes from before the branch in the trunk as
well as the changes in the branch.  However, when I ran statsvn against this
subversion log file it only gave me the changes since the branch was made,
not the changes that had ocurred since the last release in the trunk before
we did the branch.  Is there a way to also get these changes.  These changes
are in the subversion log file that was generated so I assumed statsvn just
outputted everything that was in this file.  Am I doing something wrong and
how do I get statsvn to output the changes from before the branch as well.

Thanks,

Chris
--
View this message in context: http://n2.nabble.com/Problem-with-stats-generated-from-a-branch-tp2226558p2226558.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users




--
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users
cmhinnen

Re: Problem with stats generated from a branch

Reply Threaded More More options
Print post
Permalink
OK thanks.  So even though all the data is in the Subversion log correctly, statsvn still doesn't use that data?  The data from the branch as well as the trunk before the branch is in the subversion log, but statsvn will only report on the changes made in the branch even though the other data is in the log file?  I thought it just read what was in the log file and reported on it.  That is not correct?

Chris


Jason Kealey-2 wrote:
Apologies for not responding sooner. I thought someone else would reply.
>From what I can see, you are trying to do an unsupported scenario,
unfortunately. StatSVN doesn`t currently support proper statistics on svn
copies (branching, tagging, merging). It doesn`t move back up from the
original copy that created the branch.

Thanks,
Jason

On Tue, Jan 27, 2009 at 11:05 AM, cmhinnen <chinnen@vetsource.com> wrote:

>
> I am trying to generate stats on a branch and am having a problem with the
> results.  Here is my situation.  We are trying to get the stats between 2
> releases.  We have the trunk, and when we are considered code complete we
> do
> a branch for that release.  After testing and some fixes we then release
> off
> of that branch.  Coding for the next release will now start in the trunk
> also.  What I am trying to do is get stats between releases.  I get the
> revision number of the last release and the current revision number of the
> branch.  I then do a subversion log between these two revision numbers.  I
> look in the log file and all of the changes between those releases are in
> the log file.  It gets me the changes from before the branch in the trunk
> as
> well as the changes in the branch.  However, when I ran statsvn against
> this
> subversion log file it only gave me the changes since the branch was made,
> not the changes that had ocurred since the last release in the trunk before
> we did the branch.  Is there a way to also get these changes.  These
> changes
> are in the subversion log file that was generated so I assumed statsvn just
> outputted everything that was in this file.  Am I doing something wrong and
> how do I get statsvn to output the changes from before the branch as well.
>
> Thanks,
>
> Chris
> --
> View this message in context:
> http://n2.nabble.com/Problem-with-stats-generated-from-a-branch-tp2226558p2226558.html
> Sent from the StatSVN Users mailing list archive at Nabble.com.
>
>
>
> ------------------------------------------------------------------------------
> This SF.net email is sponsored by:
> SourcForge Community
> SourceForge wants to tell your story.
> http://p.sf.net/sfu/sf-spreadtheword
> _______________________________________________
> Statsvn-users mailing list
> Statsvn-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/statsvn-users
>
>


--
Jason Kealey - jkealey@lavablast.com
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
Statsvn-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/statsvn-users
Jason Kealey-2

Re: Problem with stats generated from a branch

Reply Threaded More More options
Print post
Permalink
StatSVN does a lot more than read what is in the log file. It actively queries the server for perform diffs. Furthermore, one reason this scenario is not fully supported is that certain operations can be done on folders (creating or deleting a branch, for example). The log file only says "this folder was copied to this folder" and says nothing about its contents at that time. The contents can only be obtained by doing additional queries on the server and/or reading the complete log and inferring the contents from what was changed earlier/later. However, as stated, StatSVN doesn't currently move back up from folder copies to infer what was in the trunk previously. 

Hope this helps,
Thanks,
Jason

On Wed, Feb 11, 2009 at 3:17 PM, cmhinnen <[hidden email]> wrote:

OK thanks.  So even though all the data is in the Subversion log correctly,
statsvn still doesn't use that data?  The data from the branch as well as
the trunk before the branch is in the subversion log, but statsvn will only
report on the changes made in the branch even though the other data is in
the log file?  I thought it just read what was in the log file and reported
on it.  That is not correct?

Chris



Jason Kealey-2 wrote:
>
> Apologies for not responding sooner. I thought someone else would reply.
>>From what I can see, you are trying to do an unsupported scenario,
> unfortunately. StatSVN doesn`t currently support proper statistics on svn
> copies (branching, tagging, merging). It doesn`t move back up from the
> original copy that created the branch.
>
> Thanks,
> Jason
>
> On Tue, Jan 27, 2009 at 11:05 AM, cmhinnen <[hidden email]> wrote:
>
>>
>> I am trying to generate stats on a branch and am having a problem with
>> the
>> results.  Here is my situation.  We are trying to get the stats between 2
>> releases.  We have the trunk, and when we are considered code complete we
>> do
>> a branch for that release.  After testing and some fixes we then release
>> off
>> of that branch.  Coding for the next release will now start in the trunk
>> also.  What I am trying to do is get stats between releases.  I get the
>> revision number of the last release and the current revision number of
>> the
>> branch.  I then do a subversion log between these two revision numbers.
>> I
>> look in the log file and all of the changes between those releases are in
>> the log file.  It gets me the changes from before the branch in the trunk
>> as
>> well as the changes in the branch.  However, when I ran statsvn against
>> this
>> subversion log file it only gave me the changes since the branch was
>> made,
>> not the changes that had ocurred since the last release in the trunk
>> before
>> we did the branch.  Is there a way to also get these changes.  These
>> changes
>> are in the subversion log file that was generated so I assumed statsvn
>> just
>> outputted everything that was in this file.  Am I doing something wrong
>> and
>> how do I get statsvn to output the changes from before the branch as
>> well.
>>
>> Thanks,
>>
>> Chris
>> --
>> View this message in context:
>> http://n2.nabble.com/Problem-with-stats-generated-from-a-branch-tp2226558p2226558.html
>> Sent from the StatSVN Users mailing list archive at Nabble.com.
>>
>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by:
>> SourcForge Community
>> SourceForge wants to tell your story.
>> http://p.sf.net/sfu/sf-spreadtheword
>> _______________________________________________
>> Statsvn-users mailing list
>> [hidden email]
>> https://lists.sourceforge.net/lists/listinfo/statsvn-users
>>
>>
>
>
> --
> Jason Kealey - [hidden email]
> LavaBlast Franchise Software - http://www.lavablast.com
> Simplifying day-to-day franchise operations
>
> ------------------------------------------------------------------------------
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code
> to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> _______________________________________________
> Statsvn-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/statsvn-users
>
>

--
View this message in context: http://n2.nabble.com/Problem-with-stats-generated-from-a-branch-tp2226558p2311082.html
Sent from the StatSVN Users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users




--
Jason Kealey - [hidden email]
LavaBlast Franchise Software - http://www.lavablast.com
Simplifying day-to-day franchise operations

------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Statsvn-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/statsvn-users