comparison mercurial/localrepo.py @ 3928:4df475e22248

Sync with -stable
author Matt Mackall <mpm@selenic.com>
date Sun, 17 Dec 2006 21:48:22 -0600
parents 6b4127c7d52a 27230c29bfec
children 01d98d68d697
comparison
equal deleted inserted replaced
3924:a8bd7280330f 3928:4df475e22248
1282 warn = 1 1282 warn = 1
1283 else: 1283 else:
1284 newheads = list(heads) 1284 newheads = list(heads)
1285 for r in remote_heads: 1285 for r in remote_heads:
1286 if r in self.changelog.nodemap: 1286 if r in self.changelog.nodemap:
1287 desc = self.changelog.heads(r) 1287 desc = self.changelog.heads(r, heads)
1288 l = [h for h in heads if h in desc] 1288 l = [h for h in heads if h in desc]
1289 if not l: 1289 if not l:
1290 newheads.append(r) 1290 newheads.append(r)
1291 else: 1291 else:
1292 newheads.append(r) 1292 newheads.append(r)