##// END OF EJS Templates
hgweb: generate last change date for an empty atom-bookmarks feed (issue5022)...
hgweb: generate last change date for an empty atom-bookmarks feed (issue5022) RFC 4287 states that atom feeds must have an <updated> element, so let's add one even when repo doesn't have a single bookmark.

File last commit:

r25660:328739ea default
r28712:80e92247 default
Show More
readlink.py
13 lines | 245 B | text/x-python | PythonLexer
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 #!/usr/bin/env python
import errno, os, sys
for f in sys.argv[1:]:
try:
print f, '->', os.readlink(f)
Gregory Szorc
global: mass rewrite to use modern exception syntax...
r25660 except OSError as err:
Matt Mackall
many, many trivial check-code fixups
r10282 if err.errno != errno.EINVAL:
raise
Thomas Arendsen Hein
Use common readlink.py instead of own implementations per test script.
r5683 print f, 'not a symlink'
sys.exit(0)