Commit Graph

35 Commits

Author SHA1 Message Date
Augie Fackler
f18f6bad0b push/pull: update wrappers for upstream API changes that move push/pull to exchange 2014-10-03 12:43:48 -04:00
Augie Fackler
ea7277c7ca all-version-tests: add 3.1.1 2014-10-03 12:43:22 -04:00
Augie Fackler
02a4b5efa0 Makefile: also test against 2.9 2014-03-10 18:12:01 -04:00
Augie Fackler
f8502f95c7 upstream revset: add support for laziness to make this faster on hg 3.0 2014-03-10 17:49:44 -04:00
Augie Fackler
4faa06b7e9 revset: rename variable for clarity 2014-03-10 16:57:19 -04:00
Augie Fackler
5d77a810f1 remotebranches: add missing comment about revset updates 2014-03-10 16:56:53 -04:00
Augie Fackler
33ac9e86f5 Makefile: drop support for Mercurial older than 1.7
1.7 is now over 3 years old, so this shouldn't matter to anyone. 1.7
is also the first version of run-tests that understands .t files, so
now we can unify all tests.
2014-02-18 16:47:52 -05:00
Augie Fackler
b09f782eda revsets: add minimal code required to work with hg 3.0 2014-02-18 16:31:10 -05:00
Augie Fackler
2cea022feb test-remotebranches.t: add test for a case that fails in current hg tip 2014-02-18 16:16:26 -05:00
Patrick Mezard
eabea85cfd remotebranches: handle hg-2.3 peers API
Peers classes were introduced by 9467184ce7e7.
2012-07-29 15:30:43 +02:00
Patrick Mezard
9c1e5dd717 remotebranches: add remotebranches template keyword
Return names of all remote branches heads on a revision.
2012-06-20 17:23:51 +02:00
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