Show More
@@ -379,8 +379,8 b' def show_id(cs):' | |||||
379 | :param cs: changeset instance |
|
379 | :param cs: changeset instance | |
380 | """ |
|
380 | """ | |
381 | from rhodecode import CONFIG |
|
381 | from rhodecode import CONFIG | |
382 |
def_len = safe_int(CONFIG |
|
382 | def_len = safe_int(CONFIG.get('sha_len', 12)) | |
383 |
show_rev = str2bool(CONFIG |
|
383 | show_rev = str2bool(CONFIG.get('sha_rev', True)) | |
384 |
|
384 | |||
385 | raw_id = cs.raw_id[:def_len] |
|
385 | raw_id = cs.raw_id[:def_len] | |
386 | if show_rev: |
|
386 | if show_rev: |
General Comments 0
You need to be logged in to leave comments.
Login now