Mercurial > python-hglib
comparison hglib/client.py @ 148:c1b966866ed7
hglib: make all imports absolute (issue4520)
author | Brett Cannon <brett@python.org> |
---|---|
date | Fri, 13 Mar 2015 14:46:13 -0400 |
parents | 98829bf71f10 |
children | 11202c85737e |
comparison
equal
deleted
inserted
replaced
147:98829bf71f10 | 148:c1b966866ed7 |
---|---|
1 import subprocess, os, struct, re, datetime | 1 import subprocess, os, struct, re, datetime |
2 import hglib, error, util, templates, merge, context | 2 import hglib |
3 | 3 from hglib import error, util, templates, merge, context |
4 from util import b, cmdbuilder, BytesIO | 4 |
5 from hglib.util import b, cmdbuilder, BytesIO | |
5 | 6 |
6 class revision(tuple): | 7 class revision(tuple): |
7 def __new__(cls, rev, node, tags, branch, author, desc, date): | 8 def __new__(cls, rev, node, tags, branch, author, desc, date): |
8 return tuple.__new__(cls, (rev, node, tags, branch, author, desc, date)) | 9 return tuple.__new__(cls, (rev, node, tags, branch, author, desc, date)) |
9 | 10 |