Show More
@@ -2895,12 +2895,7 b' def debugstate(ui, repo, nodates=None, d' | |||||
2895 | for file_, ent in sorted(repo.dirstate._map.iteritems(), key=keyfunc): |
|
2895 | for file_, ent in sorted(repo.dirstate._map.iteritems(), key=keyfunc): | |
2896 | if showdate: |
|
2896 | if showdate: | |
2897 | if ent[3] == -1: |
|
2897 | if ent[3] == -1: | |
2898 | # Pad or slice to locale representation |
|
2898 | timestr = 'unset ' | |
2899 | locale_len = len(time.strftime("%Y-%m-%d %H:%M:%S ", |
|
|||
2900 | time.localtime(0))) |
|
|||
2901 | timestr = 'unset' |
|
|||
2902 | timestr = (timestr[:locale_len] + |
|
|||
2903 | ' ' * (locale_len - len(timestr))) |
|
|||
2904 | else: |
|
2899 | else: | |
2905 | timestr = time.strftime("%Y-%m-%d %H:%M:%S ", |
|
2900 | timestr = time.strftime("%Y-%m-%d %H:%M:%S ", | |
2906 | time.localtime(ent[3])) |
|
2901 | time.localtime(ent[3])) |
General Comments 0
You need to be logged in to leave comments.
Login now