Show More
@@ -966,7 +966,7 b' def getlocalchangegroupraw(repo, source,' | |||||
966 | bundler = getbundler(version, repo) |
|
966 | bundler = getbundler(version, repo) | |
967 | return getsubsetraw(repo, outgoing, bundler, source) |
|
967 | return getsubsetraw(repo, outgoing, bundler, source) | |
968 |
|
968 | |||
969 |
def get |
|
969 | def getchangegroup(repo, source, outgoing, version='01'): | |
970 | """Like getbundle, but taking a discovery.outgoing as an argument. |
|
970 | """Like getbundle, but taking a discovery.outgoing as an argument. | |
971 |
|
971 | |||
972 | This is only implemented for local repos and reuses potentially |
|
972 | This is only implemented for local repos and reuses potentially | |
@@ -976,16 +976,8 b' def getlocalchangegroup(repo, source, ou' | |||||
976 | bundler = getbundler(version, repo) |
|
976 | bundler = getbundler(version, repo) | |
977 | return getsubset(repo, outgoing, bundler, source) |
|
977 | return getsubset(repo, outgoing, bundler, source) | |
978 |
|
978 | |||
979 | def getchangegroup(repo, source, outgoing, version='01'): |
|
979 | # deprecate me once all users are gone | |
980 | """Like changegroupsubset, but returns the set difference between the |
|
980 | getlocalchangegroup = getchangegroup | |
981 | ancestors of heads and the ancestors common. |
|
|||
982 |
|
||||
983 | If heads is None, use the local heads. If common is None, use [nullid]. |
|
|||
984 |
|
||||
985 | The nodes in common might not all be known locally due to the way the |
|
|||
986 | current discovery protocol works. |
|
|||
987 | """ |
|
|||
988 | return getlocalchangegroup(repo, source, outgoing, version=version) |
|
|||
989 |
|
981 | |||
990 | def changegroup(repo, basenodes, source): |
|
982 | def changegroup(repo, basenodes, source): | |
991 | # to avoid a race we use changegroupsubset() (issue1320) |
|
983 | # to avoid a race we use changegroupsubset() (issue1320) |
General Comments 0
You need to be logged in to leave comments.
Login now