lp:~gz/bzr-update-copyright/tree_files_rename
- Get this branch:
- bzr branch lp:~gz/bzr-update-copyright/tree_files_rename
Branch merges
- John A Meinel: Approve
- Jelmer Vernooij (community): Approve
-
Diff: 18 lines (+4/-2)1 file modified__init__.py (+4/-2)
Branch information
Recent revisions
- 11. By John A Meinel
-
Change the formatter a bit.
If we have more than 3 years continuously, collapse to a range.
So you'll get '2008, 2009, 2010', but '2007-2010'.
I'm trying to decide between collapsing at 3 instead of 2. - 8. By John A Meinel
-
Handle newly added files.
Also handle files whose copyright would be correct according to committed
data, but now we have modified the file locally, and thus it needs
this years datestamp. (only currently active for only_changed since
otherwise we need to do a comparison check across every file in the tree.) - 7. By John A Meinel
-
Add a start_commit hook that auto-updates the copyright headers.
Now when you run 'bzr commit', this can scan your tree and tell it to
update any Copyright headers for files that appear as modified.
This way, we only update headers for files that are already modified,
but they are always kept up to date. - 6. By John A Meinel
-
Add an --only-changed flag.
This was a feature request that I ended up liking.
Basically, it means that you can set the code up, such
that you can auto-update files, but only the ones that
you are actually working on. Rather than all files.The next thing will be a start_commit hook that runs
this automatically. - 5. By John A Meinel
-
Summarize the results.
Also, if a file is locally already updated, count it as 'copyright-
correct' .
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp:bzr-update-copyright