Sean Farley
24beffb621
upstream: allow passing in a list of remote servers (BC)
2015-02-26 14:31:31 -08:00
Sean Farley
a2f26f5b94
upstream: change default behavior to use default path (BC)
...
Tests have been updated.
2015-02-26 14:05:15 -08:00
Sean Farley
880dc7c811
upstream: use splitremotename instead of hardcoding '/'
2015-02-26 13:37:00 -08:00
Sean Farley
0b7e8bec8b
upstream: operate on an unfiltered repo to avoid aborting
2015-02-26 14:30:58 -08:00
Sean Farley
efe7db9db1
push: only list non-obsolete heads in ui message
2015-02-12 13:24:41 -08:00
Ryan McElroy
5f5b92c7c3
pushto: translatable abort messages and hints
2015-02-11 23:53:22 -08:00
Ryan McElroy
73be4de23e
pushto: do not abort on no-op pushes
2015-02-11 23:41:42 -08:00
Ryan McElroy
1a3f91d0c3
pushto: consider all foreground nodes, not just descendants
2015-02-11 23:34:56 -08:00
Ryan McElroy
ccecf9e730
push: translate status
2015-02-11 22:31:27 -08:00
Ryan McElroy
375be87c13
pushto: reuse info passed through pushop
2015-02-11 20:09:29 -08:00
Ryan McElroy
a4dd3a7c4a
push: use unfiltered repo
2015-02-11 19:56:36 -08:00
Ryan McElroy
d8f73fb505
push: properly limit anonymous heads
2015-02-11 19:54:34 -08:00
Ryan McElroy
dfcaf81724
push: only check for anonymous heads when --to is not specified
2015-02-11 19:03:28 -08:00
Sean Farley
e1424a6be2
readme: add note about new bare push behavior
2015-02-10 19:49:55 -08:00
Sean Farley
bbab829708
push: abort if pushing only contains local bookmarks
2015-02-11 09:22:26 -08:00
Ryan McElroy
9327a466ed
remotenames: reduce verbosity
2015-02-11 22:31:14 -08:00
Ryan McElroy
a0aa55488e
push: add test of push --to functionality
2015-02-11 18:47:08 -08:00
Sean Farley
592a33eaeb
readme: fix typos
2015-02-12 16:04:10 -08:00
Ryan McElroy
bccfcf4eaa
push: rename force.to to forceto for consistency
2015-02-11 18:18:56 -08:00
Sean Farley
d5c3732bd4
readme: add installation instructions
...
Patch contributed by Nathan Goldbaum.
2015-02-11 09:23:30 -08:00
Ryan McElroy
bdddb241ea
README: update with information about push, pull, and clone
2015-02-11 11:04:54 -08:00
Sean Farley
444014356c
debug: use repo.ui instead of ui from older version of code
2015-02-10 17:00:47 -08:00
Sean Farley
42d766402a
readme: add section about remote distance
2015-02-10 16:06:33 -08:00
Sean Farley
4a622e42f6
readme: rewrite completely
2015-02-10 15:17:16 -08:00
Sean Farley
d1828f8ecc
hg: add README.html to ignore list
2015-02-10 13:41:15 -08:00
Ryan McElroy
67dc7dfe8f
remotenames: make loading module side-effect free
2015-02-10 12:02:58 -08:00
Ryan McElroy
eb7e17b93e
pushto: abort with nice message if push would have no effect
2015-02-10 12:02:32 -08:00
Ryan McElroy
5fbd0652a5
remotenames: implement push --to functionality
2015-02-10 11:52:19 -08:00
Ryan McElroy
fa62dbc7c6
remotenames: alphabetize imports
2015-02-10 11:43:07 -08:00
Sean Farley
8927ab8bcf
log: add --remote option
...
Previously, we had a config knob that would unhide obsolete changesets if they
had a remote name pointing to them. This had the side effect of 1) being an
all-or-nothing config 2) requiring a hack to re-hide the changesets during a
push.
This patch adds an option to log (the only place, so far, where it makes sense
to unhide these changesets).
2015-02-10 09:15:37 -08:00
Sean Farley
e14cb0d306
push: write distance
2015-02-09 20:59:50 -08:00
Sean Farley
61ae60e640
bookmarks: write distance
2015-02-09 20:38:30 -08:00
Sean Farley
407fb12f30
distance: use alias if that config is set
...
The case of setting this option *after* already having the remote names file
written is not handled yet.
2015-02-09 20:25:23 -08:00
Sean Farley
f548b1a20c
update: write distance
2015-02-09 20:16:15 -08:00
Sean Farley
66c33592a0
commit: write distance
2015-02-10 09:18:13 -08:00
Sean Farley
6c527020c1
pull: write distance
2015-02-09 20:14:55 -08:00
Sean Farley
760de0d347
distance: add method to write distance to file
2015-02-09 19:30:17 -08:00
Sean Farley
c42401832b
distance: add a method to calculate signed distance to remote
...
The method takes a remote alias and calculates the number of nodes away from
the current node there are. A positive distance distance means the current node
is a child of the remote.
2015-02-09 19:20:25 -08:00
Sean Farley
8482a8a8f1
branches: be fancy and label obsolete changesets
2015-02-09 20:49:41 -08:00
Sean Farley
87f043e7bf
branches: use an unfiltered repo for --remote
2015-02-09 19:11:55 -08:00
Sean Farley
cac008217b
branches: load all branch heads into the namespace
...
Previously, we only loaded the first head. Now, we iterate over all of them.
2015-02-09 19:11:28 -08:00
Sean Farley
00455a7833
bookmarks: be fancy and label obsolete changesets
2015-02-08 19:53:08 -08:00
Sean Farley
94ec2842a0
bookmarks: use an unfiltered repo for --remote
2015-02-08 19:40:27 -08:00
Sean Farley
e5bc75466a
tests: update output due to not syncing bookmarks
2015-02-09 16:10:55 -08:00
Sean Farley
d08c2cdad9
clone: wrap unlink call in a try-finally
2015-02-09 16:08:18 -08:00
Ryan McElroy
1513a07be8
remotenames: pull remotenames on clone
2015-01-28 17:45:48 -08:00
Ryan McElroy
1a9d542a87
remotenames: factor out pullremotenames helper function
...
This will be used in clone.
2015-01-28 17:45:26 -08:00
Ryan McElroy
43e3c8aed6
remotenames: drop unneeded indirection level
2015-01-28 15:53:49 -08:00
Ryan McElroy
4d32a9e3bd
remotenames: refactor outputname to outputbranches
...
Now that we have outputbookmarks that sorts differently for bookmarks,
rename outputname and make it simpler and less generic
2015-01-28 15:26:42 -08:00
Ryan McElroy
13e6ed237a
remotenames: sort remote bookmark output by name
2015-01-28 15:27:57 -08:00