Fix error: don't assume status is a tuple
This fix also works with older versions of Mercurial. `repo.status()` used to
return a named tuple; since 5.2.1 it returns an object. So `st[:5]` no longer
works, but `st.modified` works with both old and new versions of Mercurial.
author |
Sietse Brouwer <sbbrouwer@gmail.com> |
date |
Tue, 26 May 2020 14:57:58 +0200 |
parents |
187b25ff6e1a |
children |
(none) |
wiki-name: "hg-prompt"
static-dir: "static"
hide-prefix: "."
document-extensions: [.md, .mdown, .markdown]
generate-listing: always
listing-filename: "list.html"
use-default-static: false
markdown:
safe_mode: false
output_format: xhtml1
extensions: [codehilite, def_list, toc]
server:
bind: '127.0.0.1'
port: 8010
server_name: 'sjl.bitbucket.org'