##// END OF EJS Templates
make mq and tags hardlink safe...
Benoit Boissinot -
r6835:08d9e0f9 default
parent child Browse files
Show More
@@ -1427,7 +1427,7 b' class opener(object):'
1427 mode += "b" # for that other OS
1427 mode += "b" # for that other OS
1428
1428
1429 nlink = -1
1429 nlink = -1
1430 if mode[0] != "r":
1430 if mode not in ("r", "rb"):
1431 try:
1431 try:
1432 nlink = nlinks(f)
1432 nlink = nlinks(f)
1433 except OSError:
1433 except OSError:
General Comments 0
You need to be logged in to leave comments. Login now