Augie Fackler
3fddb45056
hgext: replace uses of hasattr with util.safehasattr
2011-07-25 20:37:12 -05:00
Mads Kiilerich
9013069b41
convert: fix git convert on solaris - it cannot remove environment variables
2011-06-25 01:55:15 +02:00
timeless
925cd8ddf7
convert: fix error in git solaris code
2011-05-01 18:57:11 +02:00
Edouard Gomez
4060d3d548
convert: add bookmarks reading support to git backend
2011-03-25 01:38:43 +01:00
Martin Geisler
c27c54faec
clone, patch, convert: use hex(nullid) instead of '0'*40
2010-09-02 12:08:13 +02:00
Patrick Mezard
20f6d4cdf1
convert: merge sources getmode() into getfile()
2010-05-09 21:52:34 +02:00
Patrick Mezard
438c49a871
convert/git: check status when reading output stream
2010-04-25 23:07:46 +02:00
Patrick Mezard
7dba5c05ca
convert/git: check status when reading the whole output
2010-04-25 22:59:50 +02:00
Patrick Mezard
cadf5fd884
convert/git: rename gitcmd() into gitopen() for readability
2010-04-25 22:32:27 +02:00
Martin Geisler
9346f78d09
convert: mark strings for translation
2010-04-18 15:47:49 +02:00
Martin Geisler
540a354601
convert: write "repository" instead of "repo"
...
We should strive to avoid slang in our messages to the users.
2010-04-18 15:47:49 +02:00
Matt Mackall
8d99be19f0
many, many trivial check-code fixups
2010-01-25 00:05:27 -06:00
Matt Mackall
595d66f424
Update license to GPLv2+
2010-01-19 22:20:08 -06:00
Benoit Boissinot
04ba054816
convert: use set instead of dict
2009-05-17 03:04:17 +02:00
Richard Quirk
1652c239fa
Add committer tag only when needed in git conversion
...
Convert from a git repo added a committer: tag in the log message
even if the committer and the author were the same person.
2009-05-01 11:32:19 +02:00
Martin Geisler
393fa0bd51
convert: add copyright and license headers to back-ends
2009-04-26 01:47:44 +02:00
Peter Arrenbrecht
19591b6a8c
cleanup: drop unused assignments
2009-03-23 13:13:06 +01:00
Patrick Mezard
0147011be6
Merge with crew-stable
2008-10-26 14:02:32 +01:00
Patrick Mezard
844a06bfd6
convert: fix non-ASCII filenames retrieval from git sources (issue 1360)
2008-10-26 13:23:02 +01:00
Patrick Mezard
54f7c66fa0
convert: read git output in binary mode under Windows (issue 1359)
2008-10-23 14:05:11 +02:00
Edouard Gomez
bea37bac1c
convert: return remote branches in git source
...
When converting git repos, all stuff happening on branches
seems to be ignored.
This is caused by the fact a "git clone" of a remote git
repo has all its branches prefixed with "origin/". By
chance, the "origin/master" branch is always linked to a
local "master" branch. So getheads() returns only the
master head, and it ignores all the other heads.
Make sure getheads() returns all heads, forcing remote
branches to be return by git-rev-parse.
2008-10-19 00:32:23 +02:00
Dhruva Krishnamurthy
efe9469ff7
convert: use git executable only, with subcommands
...
The latest GIT has some changes in the way it is installed. Only the 'git'
executable need to be in the path. All other commands are treated as sub
commands of 'git'.
2008-07-24 22:44:15 +02:00
Alexis S. L. Carvalho
961a45df72
merge with crew-stable
2008-02-03 21:47:07 -02:00
Alexis S. L. Carvalho
99a2d5f75c
convert: use 'unknown' and '0 0' if commit author or date weren't specified
...
Closes issue873.
2008-02-03 21:03:46 -02:00
Alexis S. L. Carvalho
2e160ca8ff
merge with crew-stable
2007-11-09 21:24:25 -02:00
Alexis S. L. Carvalho
fe9d865e0d
convert: display all errors if we couldn't open the source repo
...
This should give the user a better hint of what's going wrong.
Improve some error messages. In particular, mention "CVS checkout" instead
of "CVS repo".
Fixes issue822 and issue826.
2007-11-09 20:21:35 -02:00
Patrick Mezard
90a7d714cf
Merge with crew-stable
2007-11-01 12:37:17 +01:00
Patrick Mezard
6aa1e21320
Fix Windows os.popen bug with interleaved stdout/stderr output
...
See python bug 1366 "popen spawned process may not write to stdout under windows" for more details.
2007-11-01 12:05:14 +01:00
Patrick Mezard
e3792eb143
convert: fail if an external required tool is not found
2007-10-30 22:14:15 +01:00
Patrick Mezard
2d81806ba5
convert: quote "^" to avoid windows using it as an escape char.
2007-10-06 21:19:06 +02:00
Alexis S. L. Carvalho
b7d48206ca
convert_git: add --filemap support
2007-10-04 23:21:37 -03:00
Alexis S. L. Carvalho
ddf41e005d
Merge with crew-stable
2007-09-24 19:14:18 -03:00
Alexis S. L. Carvalho
6f75c91b5f
convert_git: avoid returning two entries for the same file in getchanges
...
This could happen in merge changesets if the merged file was different
from both parents.
2007-09-24 19:00:11 -03:00
Patrick Mezard
c9e8914a18
Merge with crew-stable
2007-08-26 19:13:24 +02:00
Patrick Mezard
e0104ee85f
convert: fix /dev/null redirections under Windows
2007-08-26 19:05:19 +02:00
Patrick Mezard
5d54b971c7
Merge with crew-stable
2007-08-26 16:49:26 +02:00
Patrick Mezard
6202bc3003
convert: fix issue702 about GIT_DIR= construct unsupported under Windows.
2007-08-26 14:51:27 +02:00
Brendan Cully
e14b56ed31
convert: look up copies in getchanges instead of getcommit
...
svn: defer path expansion until getchanges to reduce latency, as well as memory
usage when converting incrementally.
2007-08-05 12:03:27 -07:00
Brendan Cully
ee2cc772b4
convert: record the source revision in the changelog
2007-07-13 08:28:57 -07:00
Brendan Cully
d2a6fef145
convert: move some code into common init function
2007-07-05 12:08:48 -07:00
Brendan Cully
0588c7805e
convert: call superclass init from engine init functions
2007-07-05 12:00:04 -07:00
Brendan Cully
27056ca3cd
convert: import all branches from git repositories
2007-07-01 22:00:25 -07:00
Brendan Cully
b0c6674f4c
convert: gitcmd wrapper for os.popen
2007-07-01 21:09:08 -07:00
Brendan Cully
abc3ff714b
convert: gitcmd wrapper for os.popen
2007-07-01 21:09:08 -07:00
Brendan Cully
ee1924281e
convert: add -r argument specifying latest revision to convert
2007-07-01 15:02:15 -07:00
Brendan Cully
4ac9754fb4
convert: ove recode method into converter_source
2007-07-01 12:58:08 -07:00
Alexis S. L. Carvalho
08bab0f618
convert: "unknown" is a string
2007-06-25 18:52:12 -03:00
Matt Mackall
3791779d22
convert: sometimes git forgets the author
2007-06-23 13:33:45 -05:00
Brendan Cully
76de3f4dbc
Split convert extension into common and repository type modules
2007-06-10 20:08:47 -07:00