Mercurial > hg
changeset 17341:b131e24e2984
merge with stable
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Mon, 06 Aug 2012 12:07:21 -0500 |
parents | dd4cd949fa56 (diff) 96189d60d810 (current diff) |
children | 539d948d8d4b |
files | |
diffstat | 2 files changed, 1 insertions(+), 25 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Mon Aug 06 12:03:07 2012 -0500 +++ b/mercurial/context.py Mon Aug 06 12:07:21 2012 -0500 @@ -885,8 +885,7 @@ p = self._repo.dirstate.parents() if p[1] == nullid: p = p[:-1] - self._parents = [changectx(self._repo, x) for x in p] - return self._parents + return [changectx(self._repo, x) for x in p] def status(self, ignored=False, clean=False, unknown=False): """Explicit status query
--- a/tests/test-convert-mtn-rename-directory.out Mon Aug 06 12:03:07 2012 -0500 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,23 +0,0 @@ -% tedious monotone keys configuration -% create monotone repository -mtn: adding dir1 to workspace manifest -mtn: adding dir1/subdir1 to workspace manifest -mtn: adding dir1/subdir1/file1 to workspace manifest -mtn: beginning commit on branch 'com.selenic.test' -mtn: committed revision 5ed13ff5582d8d1e319f079b694a37d2b45edfc8 -% rename directory -mtn: skipping dir1, already accounted for in workspace -mtn: renaming dir1/subdir1 to dir1/subdir2 in workspace manifest -mtn: beginning commit on branch 'com.selenic.test' -mtn: committed revision 985204142a822b22ee86b509d61f3c5ab6857d2b -% convert -assuming destination repo.mtn-hg -initializing destination repo.mtn-hg repository -scanning source... -sorting... -converting... -1 initialize -0 rename -1 files updated, 0 files merged, 0 files removed, 0 files unresolved -% manifest -dir1/subdir2/file1