Mercurial > hgsubversion
annotate .hgtags @ 628:4375d37fea1e
svnrepo: fix issue 187: ignore pushable bookmarks in hg 1.6
Mercurial 1.6 introduces two new methods for repo subclasses -- pushkey and
listkeys -- to support pushing/pulling bookmarks between hg repositories.
(See mpm's blog post http://www.selenic.com/blog/?p=644 for details.)
Unfortunately, these are only defined in the subclasses, and not in the repo
base class. Perhaps the bookmarks extension should also be checking the repo
for pushkeys capability by calling repo.capable('pushkey') to check.
It doesn't.
In the meantime, we can implement these ourselves.
svnrepo should declare these methods since it is derived directly from repo.
They do nothing -- listkeys merely returns an empty dictionary; pushkey
returns False; this is the behaviour of httprepo or sshrepo when the remote
end is running an earlier version of Mercurial.
svnlocalrepo should not declare these methods since it derives from a
subclass of localrepo, which already will have them, unless some other badly
behaved extensions are doing something intensely weird.
author | James McKay <code@jamesmckay.net> |
---|---|
date | Sun, 04 Jul 2010 18:21:20 +0100 |
parents | b4c3afc95420 |
children | faba8e636960 |
rev | line source |
---|---|
554
d2d5c09b33d0
Added tag 1.0 for changeset 97f2079e3778
Augie Fackler <durin42@gmail.com>
parents:
diff
changeset
|
1 97f2079e3778511944ffb6a662520580650a3993 1.0 |
564
7bd457ec4e5e
Added tag 1.0.1 for changeset 09c016174e33
Augie Fackler <durin42@gmail.com>
parents:
554
diff
changeset
|
2 09c016174e332eceda015d3f43d96d7e0228acf3 1.0.1 |
592
b4c3afc95420
Added tag 1.1 for changeset 4359ddd73b00
Augie Fackler <durin42@gmail.com>
parents:
564
diff
changeset
|
3 4359ddd73b009fbb356c52ea5d99cba25222ee7a 1.1 |