Tay Ray Chuan
336ec5a893
update_remote_branches: refactor head usage
...
Splice the ref name only once, and don't loop through refs/heads
multiple times.
This changes the order in which hg tags are created; update test output
to reflect this.
2010-03-29 13:19:00 +08:00
Tay Ray Chuan
41495ccdb6
update_remote_branches: don't prepend '/' to heads
...
We were saving tracking branches to 'refs/remotes/<remote>//<ref>'
(double slash).
2010-03-29 13:00:49 +08:00
Tay Ray Chuan
1a2811a633
tests: specify --pretty format
...
If the user sets git config --global format.pretty, all hell breaks
loose. Specifying it prevents this.
2010-03-28 12:21:48 +08:00
Augie Fackler
a18abe29e6
Merge debug message fix.
2010-03-27 22:20:18 -05:00
Augie Fackler
d1961293e0
Various hg 1.4 compat fixes.
2010-03-27 21:37:58 -05:00
Augie Fackler
85fe0468ec
test-hg-branch: sed hashes from hg < 1.5
2010-03-27 21:16:41 -05:00
Augie Fackler
4e59f313a6
pull: make it possible to un-wedge the repo after stripping git revs
...
This adds a new command, which is inelegant, but it lets you safely
pick up pulling fairly quickly.
2010-03-25 20:24:00 -05:00
Augie Fackler
65560ee872
hggit: defend against exceptions when pulling with -r
2010-03-25 20:23:00 -05:00
Augie Fackler
c3fa923231
hggit: don't wrap gitrepo with hgrepo
2010-03-25 20:23:00 -05:00
Augie Fackler
5f31688932
tests: many, many changes so we never push into a checked-out ref
2010-03-25 19:54:00 -05:00
Augie Fackler
bf0efb8a3e
git_handler: 80 columns cleanup
2010-03-25 19:39:00 -05:00
Augie Fackler
c5bfabbe71
git_handler: fix % formatting in ref errors.
2010-03-25 19:37:00 -05:00
Tay Ray Chuan
23362335d5
export_hg_commit: fix debug note
...
We were outputting the raw SHA-1.
2010-03-22 12:25:33 +08:00
Augie Fackler
fdd03567a1
tests: missed some hash changes last time around
2010-03-03 19:25:29 -06:00
Augie Fackler
7e9ef6943c
tests: fix for new sorting of extra in hg and new topological sort
2010-03-03 17:47:00 -06:00
Augie Fackler
3e1ab2fc85
test-git-workflow: work around git output format change
2010-03-03 17:43:01 -06:00
Abderrahim Kitouni
2c65097235
fix gimport and add test for using to work on hg repos from git (issue 73)
2010-02-26 19:27:32 +01:00
jeremy avnet
c6ea6998e8
Don't import git submodule files (we don't support them .. yet).
2010-02-23 16:23:09 -05:00
Augie Fackler
fc62064c74
git_handler: use progress API instead of reinventing the wheel
2010-02-24 21:08:38 -06:00
Augie Fackler
42a1ea9ecf
git_handler: slight style cleanup
2010-02-24 21:08:19 -06:00
Benoit Boissinot
dff5d44529
sort heads by commit date in topological sort
2010-02-24 17:21:25 +01:00
Benoit Boissinot
ec3fad56d9
use a simple toposort algorithm for DAG (post order from a DFS from the heads)
2010-02-24 17:21:23 +01:00
Benoit Boissinot
b1861d6f6d
make sure no tag object are included in the DAG we build
2010-02-24 17:21:20 +01:00
Augie Fackler
ca2a34eaec
init: strip .git for default clone destination for git sources
2010-01-11 20:48:43 -06:00
Augie Fackler
b2653f208f
init: whitespace cleanup
2010-01-11 20:46:52 -06:00
Augie Fackler
d7e9a9014c
setup: bump to 0.2.1
2009-12-26 13:46:37 -06:00
Augie Fackler
197936d8b3
tests: update some test expectations
2009-12-26 13:41:56 -06:00
Augie Fackler
48f2a58b23
Merge with abderrahim.
2009-12-26 13:31:24 -06:00
Augie Fackler
9bab70cf53
setup: bump to 0.2.0
2009-12-26 12:42:25 -06:00
Augie Fackler
504dd7f416
git_handler: update for slight API change in bookmarks
...
This should continue being backwards compatible through at least hg 1.3, perhaps further.
2009-12-26 12:22:06 -06:00
Abderrahim Kitouni
91561c5a2e
fix a bug when a directory is replaced with a file
...
also use ObjectStore.tree_changes from dulwich instead of our own func
(the change to test octopus is legitimate, there were some duplicate
entries)
2009-12-25 08:56:20 +01:00
Antonin Amand
e4c754e5b8
remove unused imports
2009-11-29 16:29:18 +01:00
Antonin Amand
f57a02a4cc
python 2.4 syntax fix
2009-11-29 16:24:34 +01:00
Abderrahim Kitouni
8adb077176
remove leftover lsprofcalltree.py (we can use hg --profile)
2009-11-26 20:47:38 +01:00
Abderrahim Kitouni
6a70b4397d
accept both old and new hg output for clone
2009-11-23 19:28:20 +01:00
Abderrahim Kitouni
f2f0e03e94
fix running unit tests with the test runner
2009-11-23 19:10:32 +01:00
Abderrahim Kitouni
c07321597c
undo changes from 8b927e612456 (GNU sed doesn't have a -E option)
2009-11-23 18:58:40 +01:00
Augie Fackler
899f88dbc9
tests: update test expectations for hg change 00655544b9f3
2009-10-27 22:40:11 -04:00
Augie Fackler
44d75ddc05
tests: inline unit tests into main test suite
2009-10-27 22:39:45 -04:00
Lincoln Stoll
86d0cc6948
Enable detection of bare repositories as a local git repo
2009-10-26 17:52:32 +01:00
Lincoln Stoll
b1e1caad4a
Adding a unit test for the url format parser.
2009-10-20 19:33:06 +02:00
Lincoln Stoll
d255491879
Handle normal relative SSH paths (i.e for heroku and gitosis) as well as github style paths.
2009-10-19 17:48:07 +02:00
Augie Fackler
fbdfb75d81
Merge with abderrahim.
2009-10-25 10:55:12 -05:00
Augie Fackler
5bccae8cb3
tests: Fix tests with new repo layout.
...
Also make all tests bail early if dulwich is not available.
2009-10-25 10:52:50 -05:00
Augie Fackler
a884ee33b6
Updated readme with more complete author list and some corrected docs.
2009-10-17 20:34:53 -04:00
Abderrahim Kitouni
480886d706
do not init the cache git repo unless needed (fixes issue 16 bb)
2009-10-15 21:45:15 +01:00
Abderrahim Kitouni
90f8c9cf18
Simple hack for handling wrong use of git repos (fixes issue 24 bb)
2009-10-08 19:50:09 +01:00
Mads Kiilerich
c5d1e7bc8b
Simpler handling of detection of git repos
...
This also fixes git.intree support
2009-10-08 02:27:00 +02:00
Kevin Bullock
25a2b1d0a1
package with distutils
...
(patch tweaked slightly by Augie Fackler)
2009-09-30 14:39:49 -05:00
Augie Fackler
7c180ed8af
Merge test fixes.
2009-09-25 22:44:05 -04:00