summaryrefslogtreecommitdiff
path: root/hg-fast-export.sh
Commit message (Collapse)AuthorAgeFilesLines
* Make bashism conditional on the shell being bashFrej Drejhammar2014-02-061-1/+3
| | | | This avoids breakage due to 9643aa5d on shells other than bash.
* Give a proper error message when the hg repo is not knownFrej Drejhammar2014-02-061-0/+5
| | | | | | | | hg-fast-export.sh always passes the --repo flag to hg-fast-export.py. If, for some reason, we have a state file where the repo-url is an empty string the checks in hg-fast-export.py will not work and the user will be confused. Therefore we check that the url is specified before calling hg-fast-export.py.
* Don't ignore hg-fast-export.py exit codeMatthijs van der Vleuten2014-02-061-0/+2
|
* Revert "switch old deprecated sh syntax `...` to new approved $(...)"Andrey Rahmatullin2012-02-031-5/+5
| | | | This reverts commit 9f3c019a7b375933d669950c46ac02e94b08737c.
* Merge branch 'upstream'Andrey Rahmatullin2012-02-031-2/+4
|\
| * Add usage info for the --force optionDavid Wragg2012-01-231-2/+4
| |
* | switch old deprecated sh syntax `...` to new approved $(...)Barak A. Pearlmutter2011-09-111-5/+5
|/
* hg-fast-export.sh should fail if git-fast-import failsDavid Wragg2011-06-131-4/+4
| | | | | Previously, git-fast-import could fail, and exit with a non-zero status. But the exit status of hg-fast-export.sh would not reflect this.
* Support passing --force to git-fast-importDavid Wragg2011-06-131-4/+9
|
* Merge branch 'from-jmcmullan' into developFrej Drejhammar2008-12-201-2/+3
|\ | | | | | | | | Conflicts: hg-fast-export.py
| * hg export: Support tag movementJason S. McMullan2008-12-111-2/+3
| | | | | | | | | | | | | | | | | | | | HG tag movement is now supported with this patch. This patch creates a .git/hg2git-mapping file, which maps HG revision numbers to HG hashes. Combined with the .git/hg2git-marks file, which maps HG revisions to GIT hashes, we can now reprocess all tags at the end of each hg export operation.
* | hg-fast-export: add option to track remote branches under a custom namespaceFabrizio Chiarello2008-12-201-2/+3
| | | | | | | | | | | | | | Add -o, --origin <name> to allow user to set a namespace used when importing remote branches. Signed-off-by: Fabrizio Chiarello <ponch@autistici.org>
* | hg2git: Update copyrights and maintainership information.Rocco Rutte2008-11-251-1/+1
|/ | | | Signed-off-by: Rocco Rutte <pdmef@gmx.net>
* hg-fast-export: Make default branch customizableFabrizio Chiarello2008-09-191-1/+2
| | | | | | | Add -M, --default-branch <branch_name> to allow user to set the default branch where to pull into Signed-off-by: Fabrizio Chiarello <ponch@autistici.org>
* hg-fast-export: work still if git-commands are not in PATHJonathan Nieder2008-07-311-3/+3
| | | | | | | | | | | | | In git 1.6.0, most git tools with a dash in the name will no longer be installed in $bindir. This patch makes hg-fast-export use the "git <command>" form so it will work even if "git" is the only piece of git machinery in the user's PATH. On the other hand, the "git <command>" form does not help for sourcing a shell script (with "."). So use the full path to source "git-sh-setup". Signed-off-by: Jonathan Nieder <jrnieder@uchicago.edu>
* Fix shell substitution typoRocco Rutte2007-10-221-1/+1
| | | | Signed-off-by: Rocco Rutte <pdmef@gmx.net>
* Allow for $PYTHON environment variable specifying python binary to useRocco Rutte2007-10-221-1/+2
| | | | Signed-off-by: Rocco Rutte <pdmef@gmx.net>
* hg-fast-export.sh Use hg-fast-export.py, not dead hg2git.pyRocco Rutte2007-03-141-1/+1
| | | | Signed-off-by: Rocco Rutte <pdmef@gmx.net>
* Use MIT license, adjust hg2git script names to match fast-export repo styleRocco Rutte2007-03-141-0/+96
Signed-off-by: Rocco Rutte <pdmef@gmx.net>