Show More
@@ -153,6 +153,7 b' class changelog(revlog.revlog):' | |||||
153 | r = revlog.revlog(self.opener, file) |
|
153 | r = revlog.revlog(self.opener, file) | |
154 | self.index = r.index |
|
154 | self.index = r.index | |
155 | self.nodemap = r.nodemap |
|
155 | self.nodemap = r.nodemap | |
|
156 | self._nodecache = r._nodecache | |||
156 | self._chunkcache = r._chunkcache |
|
157 | self._chunkcache = r._chunkcache | |
157 |
|
158 | |||
158 | def writepending(self): |
|
159 | def writepending(self): |
@@ -579,3 +579,30 b' new tags must be visible in pretxncommit' | |||||
579 | $ hg tag -f foo |
|
579 | $ hg tag -f foo | |
580 | ['a', 'foo', 'tip'] |
|
580 | ['a', 'foo', 'tip'] | |
581 |
|
581 | |||
|
582 | new commits must be visible in pretxnchangegroup (issue3428) | |||
|
583 | ||||
|
584 | $ cd .. | |||
|
585 | $ hg init to | |||
|
586 | $ echo '[hooks]' >> to/.hg/hgrc | |||
|
587 | $ echo 'pretxnchangegroup = hg --traceback tip' >> to/.hg/hgrc | |||
|
588 | $ echo a >> to/a | |||
|
589 | $ hg --cwd to ci -Ama | |||
|
590 | adding a | |||
|
591 | $ hg clone to from | |||
|
592 | updating to branch default | |||
|
593 | 1 files updated, 0 files merged, 0 files removed, 0 files unresolved | |||
|
594 | $ echo aa >> from/a | |||
|
595 | $ hg --cwd from ci -mb | |||
|
596 | $ hg --cwd from push | |||
|
597 | pushing to $TESTTMP/to | |||
|
598 | searching for changes | |||
|
599 | adding changesets | |||
|
600 | adding manifests | |||
|
601 | adding file changes | |||
|
602 | added 1 changesets with 1 changes to 1 files | |||
|
603 | changeset: 1:9836a07b9b9d | |||
|
604 | tag: tip | |||
|
605 | user: test | |||
|
606 | date: Thu Jan 01 00:00:00 1970 +0000 | |||
|
607 | summary: b | |||
|
608 |
General Comments 0
You need to be logged in to leave comments.
Login now