Commit Graph

13 Commits

Author SHA1 Message Date
Patrick Mezard
f0fbb42e99 remotebranches: add remotebranches() revset
It simply returns all remote branches heads.
2012-06-20 11:24:55 +02:00
Augie Fackler
4e4ce0eae3 Clean up tests to allow them to pass against more hg versions. 2012-01-27 13:51:12 -06:00
Brendan Cully
3de4623b0d tests: fix bashism (function keyword) 2011-10-31 09:26:49 -07:00
Aaron Maenpaa
024cfe09e3 Add a tag '<repo>' as a synonym for '<repo>/default'.
I find myself running ``hg up -C <repo>/default`` a lot. Furthermore,
I probably run ``hg up -C <repo>`` and get an error more often than
I actually specify a branch other than default. Consequently, it really
feels like I want to be able to run ``hg up -C ``<repo>`` and have that
bring me to '<repo>/default'.

Including the alias is configured using the "alias.default" option in the
[remotebranches] section and defaults to off. Furthermore, it doesn't
create an alias for the "default" remote since that leads confusion with the
default branch.
2011-07-25 15:43:37 -04:00
Augie Fackler
872d402616 Update for hg-side URL handling changes. 2011-04-07 18:53:39 -05:00
Augie Fackler
c388e35469 revsets: add pushed() and upstream() convenience revsets
pushed() returns the set of revsions known as pushed to any remote
repository by remotebranches. upstream() returns the set of revisions
that have been pushed to paths marked as "upstream" by listing them in
the remotebranches.upstream config field.
2011-03-29 19:02:08 -05:00
Augie Fackler
6bf6ba476a tests: add a unified test case for testing new features 2011-03-29 19:02:06 -05:00
Augie Fackler
023552018d tests: updated expectations after hg change d5457e08b175 2011-03-29 19:02:02 -05:00
Augie Fackler
7250881099 Makefile: use trick from hgit for easier test running 2011-03-29 19:02:00 -05:00
Augie Fackler
c7ca492794 remotebranches: avoid infinite recursion if a remote branch hash is missing
Includes a test.
2010-01-26 09:00:48 -06:00
Augie Fackler
ebe1858001 remotebranches: test marking after pull from http 2010-01-25 16:40:37 -06:00
Augie Fackler
d0edd98ec9 add support for schemes 2010-01-10 17:24:02 -06:00
Augie Fackler
da224a93ea add tests 2010-01-04 08:28:59 -06:00