Show More
@@ -124,8 +124,9 b' class changelog(revlog):' | |||||
124 | return self.extract(self.revision(node)) |
|
124 | return self.extract(self.revision(node)) | |
125 |
|
125 | |||
126 | def add(self, manifest, list, desc, transaction, p1=None, p2=None): |
|
126 | def add(self, manifest, list, desc, transaction, p1=None, p2=None): | |
127 |
|
|
127 | user = (os.environ.get("HGUSER") or | |
128 | except: user = os.environ["LOGNAME"] + '@' + socket.getfqdn() |
|
128 | os.environ.get("EMAIL") or | |
|
129 | os.environ.get("LOGNAME", "unknown") + '@' + socket.getfqdn()) | |||
129 | date = "%d %d" % (time.time(), time.timezone) |
|
130 | date = "%d %d" % (time.time(), time.timezone) | |
130 | list.sort() |
|
131 | list.sort() | |
131 | l = [hex(manifest), user, date] + list + ["", desc] |
|
132 | l = [hex(manifest), user, date] + list + ["", desc] |
General Comments 0
You need to be logged in to leave comments.
Login now