Export, or add, or something is b0rked
Thomas Arendsen Hein
thomas at intevation.de
Fri Jul 1 12:46:01 CDT 2005
* Matt Mackall <mpm at selenic.com> [20050701 19:40]:
> What does 'hg manifest | grep rpm' report? How about 'hg -v tip'?
>
> Does 'hg verify' run cleanly?
Matt, try in your repo:
$ hg diff -r0.5
it will work for many files and then:
diff -r f40273b0ad7b hgweb.cgi
--- a/hgweb.cgi Sat May 28 22:09:11 2005
+++ b/hgweb.cgi Fri Jul 1 19:44:12 2005
@@ -1,8 +1,10 @@
-#!/usr/bin/python
+#!/usr/bin/env python
#
# An example CGI script to use hgweb, edit as necessary
import cgitb, os, sys
+cgitb.enable()
+
# sys.path.insert(0, "/path/to/python/lib") # if not a system-wide install
from mercurial import hgweb
Traceback (most recent call last):
File "/home/thomas/bin/hg", line 13, in ?
commands.run()
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 842, in run
sys.exit(dispatch(sys.argv[1:]))
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 908, in dispatch
return d()
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 893, in <lambda>
d = lambda: i[0](u, repo, *args, **cmdoptions)
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 423, in diff
dodiff(ui, repo, files, *revs)
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 76, in dodiff
tn = read(f)
File "/home/thomas/lib/python2.4/site-packages/mercurial/commands.py", line 56, in read
def read(f): return repo.wfile(f).read()
File "/home/thomas/lib/python2.4/site-packages/mercurial/hg.py", line 513, in wfile
return self.wopener(f, mode)
File "/home/thomas/lib/python2.4/site-packages/mercurial/hg.py", line 360, in o
return file(f, mode)
IOError: [Errno 2] No such file or directory: '/vol1/thomas/hg/repo/upstream/doc/hg.1'
Ah, this is a deleted file!
$ hg manifest|grep 'doc\/hg'
f004ebdfb96c7b3c65c086e52d346b760d6f35d7 644 doc/hg.1.txt
6c3a3ce1a08105825210b8583b1eaf061151bd47 644 doc/hgmerge.1.txt
Thomas
--
Email: thomas at intevation.de
http://intevation.de/~thomas/
More information about the Mercurial
mailing list