Alex Willmer wrote:
> On Tue, Nov 9, 2010 at 9:39 PM, Chris Nelson
> <[email protected]> wrote: 
>> How is no_cycle different from parent_child?  I imagine parent_child
>> has more than no_cycle.  It's only just occurred to me that cycles
>> have to be detected along all possible links.  For example, A has a
>> child B which blocks C which blocks A.   
> 
> no_cycle checks that the graph is acyclic like you say, preventing a
> single link type forming a loop e.g. A depends on B depends on C
> depends on A. parent_child in addition checks that a single link type
> forms a tree - namely that a ticket may have many children, but at
> most one parent.

That makes sense.  But is preventing "single link type" loops sufficient?  It 
seems that my example could be a concern.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Development" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-dev?hl=en.

Reply via email to