~twisted-dev/twisted-trac-integration/trunk

« back to all changes in this revision

Viewing changes to commit-bot/commit

  • Committer: tom.prince at ualberta
  • Date: 2013-05-21 17:27:11 UTC
  • Revision ID: tom.prince@ualberta.net-20130521172711-o9vifzpokcyf2i55
Remove commit-bot and diffresource.

The code and history for them now reside in seperate repositories at
https://github.com/twisted-infra.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/usr/bin/python
2
 
 
3
 
import sys, os
4
 
 
5
 
from twisted.python import log
6
 
 
7
 
import config, commit
8
 
 
9
 
if __name__ == '__main__':
10
 
    if len(sys.argv) != 3:
11
 
        raise SystemExit("Usage: %s <repository path> <revision number>" % (sys.argv[0],))
12
 
    log.startLogging(
13
 
        file(os.path.expanduser(
14
 
            os.path.join(config.LOG_ROOT, '.commit.log')), 'a'))
15
 
    commit.main(sys.argv[1], int(sys.argv[2]))