Index: contrib/tools/post-review
===================================================================
--- contrib/tools/post-review	(revision 1513)
+++ contrib/tools/post-review	(working copy)
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/home/titan/skipm/local/bin/python2.5
 
 import cookielib
 import mimetools
@@ -93,6 +93,7 @@
         self.base_path = base_path
         self.supports_changesets = supports_changesets
         self.supports_parent_diffs = supports_parent_diffs
+        debug("repository info: %s" % self)
 
     def __str__(self):
         return "Path: %s, Base path: %s, Supports changesets: %s" % \
@@ -532,6 +533,17 @@
         if i != -1:
             repository_path = repository_path[i + 1:]
 
+        i = repository_path.find(":")
+        if i != -1:
+            host = repository_path[:i]
+            try:
+                canon = socket.getfqdn()
+            except socket.error, msg:
+                debug("failed to get fqdn for %s, msg=%s" %
+                      (host, msg))
+            else:
+                repository_path = repository_path.replace('%s:' % host,
+                                                          '%s:' % canon)
         return RepositoryInfo(path=repository_path)
 
     def diff(self, files):
