| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # update-copyright | |
| 2 | |
| 3 A script that accesses each repo listed on a Mercurial index, and updates the co pyrights on each page to the current year. | |
| 4 | |
| 5 ## Usage | |
| 6 | |
| 7 Must specify which Mercurial URL site to scrape: | |
| 8 $ python3 update_copyright.py -u https://hg.adblockplus.org/ | |
| 9 | |
| 10 May also specify which remote repo to push to: | |
| 11 $ python3 update_copyright.py -u https://hg.adblockplus.org/ -p ssh://hg@hg. adblockplus.org/ | |
| 12 | |
| 13 ## Testing | |
| 14 | |
| 15 The tests can be run via [Tox](http://tox.readthedocs.org/) | |
| OLD | NEW |