About Download Docs Changes

File is already tracked

Hi, I just tried hatta-dev on Ubuntu 8.10, and I get some errors:

Traceback (most recent call last):
  ...
  File "hatta.py", line 233, in new_func
    try:
  File "hatta.py", line 356, in save_file
    except mercurial.revlog.LookupError:
  File ".../mercurial/localrepo.py", line 1115
    self.ui.warn(_("%s already tracked!\\n") % f)
  File ".../mercurial/ui.py", line 445, in warn
    self.write_err(*msg)
  File ".../mercurial/ui.py", line 388, in write_err
    if not sys.stdout.closed: sys.stdout.flush()
IOError: sys.stdout access restricted by mod_wsgi

See also: http://mercurial.selenic.com/bts/issue1095


Thank you, I added that WSGI stdout workaround in development version. Also thank you for updating the Install page, I didn't test Mercurial 1.0 after including the fixes necessary for Mercurial 1.3. There are three possible things that could be done with the changing API of Mercurial:

I'm really too short on resources at the moment to keep testing all versions. On the other hand, it can be largely automated. Interactions with Mercurial are not that numerous, and I think most of them are at least partially covered with tests now. I only need some time to setup testing environments for different versions of Mercurial…

On the other hand, bundling Mercurial seems like a solution giving the best results with the least effort… Of course, Hatta won't be a single-file then, it'd need at least two files in the best case – when all the dependencies are zipped. I need to think about it. – Radomir Dopieralski


I made the development version work with Mercurial 1.0 again, and also applied the workaround for mod_wsgi. Please let me know if there are any other problems. – Radomir Dopieralski


Fixed Bugs - Issues