Opened 15 years ago
Last modified 13 years ago
#276 new task
make copyright work between branches
Reported by: | Peter Johansson | Owned by: | Jari Häkkinen |
---|---|---|---|
Priority: | major | Milestone: | svndigest 0.x+ |
Component: | svncopyright | Version: | trunk |
Keywords: | Cc: |
Description (last modified by )
The problem is rather tricky.
Say that we have file FILE
in trunk
Copyright 2006 MySelf Copyright 2007 Me
that we copy to a branch
Then copyright must follow copy between branches because otherwise copyright becomes
Copyright 2007 Me
And then if MySelf? is working on the file in the branch, update the copyright and merge it into trunk
Copyright 2006 MySelf Copyright 2007 Me, MySelf
However, there is nothing in the trunk history that MySelf? should be included in 2007 copyright statement, so next time copyright is updated he will be wiped away.
One way to solve this is to configure the update to only add (never delete) author/year. This means that svndigest must be able to parse the actual copyright, which implies the format must be somewhat standardized. In case it is not readable, I guess we can barf to the user with a warning and skip updating that file.
Change History (2)
comment:1 Changed 13 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 13 years ago by
This is just an idea, but one way to go here would be to store the info in an svn prop. What would the consequences be?
ticket:367 was marked as related