# HG changeset patch # User Steve Losh # Date 1276649422 14400 # Node ID f61b33b27999bf4871aac4a673843f9218ce58c7 # Parent 34df61cd0a47fdf4e37c1c0c5538219a881828c8 guts: adjust paths and imports diff -r 34df61cd0a47 -r f61b33b27999 contrib/deploy/wsgi.py --- a/contrib/deploy/wsgi.py Tue Jun 15 20:40:50 2010 -0400 +++ b/contrib/deploy/wsgi.py Tue Jun 15 20:50:22 2010 -0400 @@ -2,9 +2,9 @@ # Edit as necessary. # If hg-review is not on your webserver's PYTHONPATH, uncomment the lines -# below and point it at the hg-review/review directory. +# below and point it at the hg-review directory. import sys -sys.path.insert(0, "/path/to/hg-review/review") +sys.path.insert(0, "/path/to/hg-review") REPO = '/path/to/your/repo' READ_ONLY = True @@ -14,7 +14,7 @@ TITLE = 'Your Project' from mercurial import hg, ui -from web import app +from review.web import app _ui = ui.ui() _ui.setconfig('ui', 'user', ANON_USER) diff -r 34df61cd0a47 -r f61b33b27999 review/cli.py --- a/review/cli.py Tue Jun 15 20:40:50 2010 -0400 +++ b/review/cli.py Tue Jun 15 20:50:22 2010 -0400 @@ -7,9 +7,8 @@ import re import api, helps, messages -from mercurial import help, templatefilters, util +from mercurial import extensions, help, templatefilters, util from mercurial.node import short -from mercurial import extensions def _get_message(ui, rd, initial):