Mercurial > public > mercurial-scm > hg
comparison mercurial/localrepo.py @ 17521:6a78548eaa86
spelling: synchronize
author | timeless@mozdev.org |
---|---|
date | Fri, 17 Aug 2012 13:58:19 -0700 |
parents | dfbcf23582e1 |
children | e4b2f0ebd6e2 |
comparison
equal
deleted
inserted
replaced
17520:dfbcf23582e1 | 17521:6a78548eaa86 |
---|---|
1903 # we return an integer indicating remote head count | 1903 # we return an integer indicating remote head count |
1904 # change | 1904 # change |
1905 ret = remote.addchangegroup(cg, 'push', self.url()) | 1905 ret = remote.addchangegroup(cg, 'push', self.url()) |
1906 | 1906 |
1907 if ret: | 1907 if ret: |
1908 # push succeed, synchonize target of the push | 1908 # push succeed, synchronize target of the push |
1909 cheads = outgoing.missingheads | 1909 cheads = outgoing.missingheads |
1910 elif revs is None: | 1910 elif revs is None: |
1911 # All out push fails. synchronize all common | 1911 # All out push fails. synchronize all common |
1912 cheads = outgoing.commonheads | 1912 cheads = outgoing.commonheads |
1913 else: | 1913 else: |