Show More
@@ -888,7 +888,7 b' def tag(ui, repo, name, rev = None, **op' | |||||
888 |
|
888 | |||
889 | add = 0 |
|
889 | add = 0 | |
890 | if not os.path.exists(repo.wjoin(".hgtags")): add = 1 |
|
890 | if not os.path.exists(repo.wjoin(".hgtags")): add = 1 | |
891 | repo.wfile(".hgtags", "a").write("%s %s\n" % (r, name)) |
|
891 | repo.wfile(".hgtags", "ab").write("%s %s\n" % (r, name)) | |
892 | if add: repo.add([".hgtags"]) |
|
892 | if add: repo.add([".hgtags"]) | |
893 |
|
893 | |||
894 | if not opts['text']: |
|
894 | if not opts['text']: |
General Comments 0
You need to be logged in to leave comments.
Login now