Commit Graph

124 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
8456f29365 all-version-tests: test against more hg versions 2012-01-27 13:53:09 -06: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
401d6c5c40 Work around url.url moving to util.url in Mercurial. 2011-05-01 09:56:28 -05:00
Augie Fackler
872d402616 Update for hg-side URL handling changes. 2011-04-07 18:53:39 -05:00
Augie Fackler
dea861f45d README: document revsets feature and clean up some markup. 2011-04-03 14:59:06 -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
cd01f35a35 Tweak to stay within 80 columns more easily. 2011-03-29 08:24:25 -05:00
Ronny Pfannschmidt
46a1374c9c ignore closed remotes for convience 2010-08-20 12:19:26 +02:00
Benjamin Pollack
b7ecb57173 update remote branch heads on push 2010-03-22 15:03:52 -04: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
1c4a464d45 README: some basic documentation 2010-01-25 16:49:04 -06:00
Augie Fackler
f90d3fcf88 remotebranches: add hgignore 2010-01-25 16:48:45 -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
0201bfc528 Refactor and support both ssh and http 2010-01-10 16:56:16 -06:00
Augie Fackler
da224a93ea add tests 2010-01-04 08:28:59 -06:00
Augie Fackler
94b35dba8d changes required to work with local repositories 2010-01-04 08:28:51 -06:00
Augie Fackler
5ad7767a8b Initial import of remotebranches. 2010-01-03 22:37:45 -06:00