copyright check pre-commit hook
Erik de Castro Lopo
mle+tools at mega-nerd.com
Sun Jan 10 00:00:11 GMT 2010
John Arbash Meinel wrote:
> You might also want to add something with:
>
> future_rev = local_branch.repository.get_revision(new_revid)
> committer = future_rev.committer
> authors = future_rev.get_apparent_authors()
>
> # Inspect copyright lines to make sure there is one with the current
> # year and the current committer/authors
>
> 'authors' is one or more authors, meant to indicate who actually wrote
> the code. (In the case that someone sent you a patch that you are
> committing for them.)
I'll have a look at that. Thanks.
Erik
--
----------------------------------------------------------------------
Erik de Castro Lopo
http://www.mega-nerd.com/
More information about the bazaar
mailing list