##// END OF EJS Templates
merge with stable
Matt Mackall -
r21764:cd3c7939 merge default
parent child Browse files
Show More
@@ -108,7 +108,7 b' class p4_source(converter_source):'
108 108 cmd = "p4 -G describe -s %s" % change
109 109 stdout = util.popen(cmd, mode='rb')
110 110 d = marshal.load(stdout)
111 desc = self.recode(d["desc"])
111 desc = self.recode(d.get("desc", ""))
112 112 shortdesc = desc.split("\n", 1)[0]
113 113 t = '%s %s' % (d["change"], repr(shortdesc)[1:-1])
114 114 ui.status(util.ellipsis(t, 80) + '\n')
@@ -281,7 +281,7 b' def _pushchangeset(pushop):'
281 281 # ssh: return remote's addchangegroup()
282 282 # http: return remote's addchangegroup() or 0 for error
283 283 pushop.ret = pushop.remote.unbundle(cg, remoteheads,
284 'push')
284 pushop.repo.url())
285 285 else:
286 286 # we return an integer indicating remote head count
287 287 # change
@@ -109,8 +109,6 b' class hgweb(object):'
109 109 # compare changelog size in addition to mtime to catch
110 110 # rollbacks made less than a second ago
111 111 if st.st_mtime != self.mtime or st.st_size != self.size:
112 self.mtime = st.st_mtime
113 self.size = st.st_size
114 112 r = hg.repository(self.repo.baseui, self.repo.root)
115 113 self.repo = self._getview(r)
116 114 self.maxchanges = int(self.config("web", "maxchanges", 10))
@@ -121,6 +119,9 b' class hgweb(object):'
121 119 self.allowpull = self.configbool("web", "allowpull", True)
122 120 encoding.encoding = self.config("web", "encoding",
123 121 encoding.encoding)
122 # update these last to avoid threads seeing empty settings
123 self.mtime = st.st_mtime
124 self.size = st.st_size
124 125 if request:
125 126 self.repo.ui.environ = request.env
126 127
@@ -227,7 +227,7 b' Aborting transaction prevents fncache ch'
227 227 > cmdtable = {}
228 228 >
229 229 > EOF
230 $ rm "${extpath}c"
230 $ rm -f "${extpath}c"
231 231 $ touch z
232 232 $ hg ci -qAm z
233 233 transaction abort!
General Comments 0
You need to be logged in to leave comments. Login now