When trying to install review board straight from an svn checkout I get an
exception:
# python setup.py install
Copying tree to staging area...
running install
running bdist_egg
unrecognized .svn/entries format; skipping .
running egg_info
writing requirements to ReviewBoard.egg-info/requires.txt
writing ReviewBoard.egg-info/PKG-INFO
writing top-level names to ReviewBoard.egg-info/top_level.txt
writing dependency_links to ReviewBoard.egg-info/dependency_links.txt
Traceback (most recent call last):
File "setup.py", line 203, in <module>
"Topic :: Software Development :: Quality Assurance",
File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
dist.run_commands()
File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
self.run_command(cmd)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/install.py",
line 76, in run
self.do_egg_install()
File "/usr/lib/python2.5/site-packages/setuptools/command/install.py",
line 96, in do_egg_install
self.run_command('bdist_egg')
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/bdist_egg.py",
line 167, in run
self.run_command("egg_info")
File "/usr/lib/python2.5/distutils/cmd.py", line 333, in run_command
self.distribution.run_command(command)
File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
cmd_obj.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py",
line 171, in run
self.find_sources()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py",
line 252, in find_sources
mm.run()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py",
line 306, in run
self.add_defaults()
File "/usr/lib/python2.5/site-packages/setuptools/command/egg_info.py",
line 333, in add_defaults
rcfiles = list(walk_revctrl())
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line
45, in walk_revctrl
for item in ep.load()(dirname):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line
52, in _default_revctrl
for path in finder(dirname,path):
File "/usr/lib/python2.5/site-packages/setuptools/command/sdist.py", line
98, in entries_finder
log.warn("unrecognized .svn/entries format in %s", dirname)
NameError: global name 'log' is not defined
This makes it really hard to track changes with my custom patches applied
on the source tree, I have to run svn export each time something changes
and then reapply my changes...