Show More
@@ -156,6 +156,10 b' def synchronize_hg(hg_repo: pathlib.Path' | |||
|
156 | 156 | fh.write(' UserKnownHostsFile %s\n' % (ssh_dir / 'known_hosts')) |
|
157 | 157 | fh.write(' IdentityFile %s\n' % (ssh_dir / 'id_rsa')) |
|
158 | 158 | |
|
159 | if not (hg_repo / '.hg').is_dir(): | |
|
160 | raise Exception('%s is not a Mercurial repository; ' | |
|
161 | 'synchronization not yet supported' % hg_repo) | |
|
162 | ||
|
159 | 163 | env = dict(os.environ) |
|
160 | 164 | env['HGPLAIN'] = '1' |
|
161 | 165 | env['HGENCODING'] = 'utf-8' |
General Comments 0
You need to be logged in to leave comments.
Login now