History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CCNET-1180
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Unassigned
Reporter: dp godwin
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
CruiseControl .NET

AccuRev source control does not detect modifications in parent, cross-linked or via pass-through streams

Created: 16/Jun/08 01:28 AM   Updated: 25/Aug/08 01:57 PM
Component/s: Source Control
Affects Version/s: 1.3, 1.4
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File MerckAccurev.cs (16 kb)

Environment: All


 Description  « Hide
The AccuRev source control block uses the "accurev hist" command to detect changes to a stream. However, this will not pick up changes that are made in parent streams.

There are some workarounds (see http://groups.google.com.ag/group/ccnet-user/browse_thread/thread/8e2a5aa00f15684b/77db7c20bfeaa045?lnk=gst&q=accurev#77db7c20bfeaa045).

However, these workarounds are a bit awkward, a proper fix for this would be much better.

The only way I know to get all changes required to a workspace is using the "accurev update -i" command. However, this doesn't give all the information required for CCNet (e.g. who modified the code). Perhaps there is a way to use the update -i command, and then query the history for who modified the files?

 All   Comments   Work Log   Change History      Sort Order:
dp godwin [16/Jun/08 01:31 AM]
Should have added to the description that "accurev hist" also doesn't work for cross-linked streams or for streams accessed via a pass-through. Any solution will have to encompass this as well (update -i will do this).

Alim Hassam [16/Jun/08 11:26 AM]
I implemented a better way of handling this in a custom accurev source control provider.
I do that by doing a accurev show -fx streams which gives all the stream in hte current depot.
Then i go each parent stream call it p (stoping a the root, or at a snapshot stream) and do an accurev hist with p as the stream given.
This fixes part of the problem.

I attached the file here.

In its current form, It doesn't work well with time based parent streams, we could get some extra modification when there are none.
I think It doesn't work well either with re-parenting the stream.


Ross Patterson [25/Aug/08 01:57 PM]
I no longer have access to an AccuRev system, so I can't do justice to this problem.