##// END OF EJS Templates
push: don't treat bookmark as a found change...
push: don't treat bookmark as a found change Treating bookmarks as a found change results in confusing documentation or output and is less useful for scripting.

File last commit:

r10282:08a0f04b default
r16038:dad96e75 stable
Show More
readlink.py
13 lines | 243 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)
except OSError, 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)