git/contrib
Max Horn 51be46ec4d remote-hg: do not fail on invalid bookmarks
Mercurial can have bookmarks pointing to "nullid" (the empty root
revision), while Git can not have references to it. When cloning or
fetching from a Mercurial repository that has such a bookmark, the
import failed because git-remote-hg was not be able to create the
corresponding reference.

Warn the user about the invalid reference, and do not advertise these
bookmarks as head refs, but otherwise continue the import. In
particular, we still keep track of the fact that the remote repository
has a bookmark of the given name, in case the user wants to modify that
bookmark.

Also add some test cases for this issue.

Reported-by: Antoine Pelisse <apelisse@gmail.com>
Signed-off-by: Max Horn <max@quendi.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2014-03-25 12:05:24 -07:00
..
buildsystems
completion Merge branch 'sg/prompt-svn-remote-fix' 2013-10-28 10:43:38 -07:00
contacts contacts: fix to work in subdirectories 2013-09-17 22:16:22 -07:00
convert-objects
credential Merge branch 'bc/gnome-keyring' 2013-10-23 13:21:50 -07:00
diff-highlight
diffall
emacs
examples Merge branch 'sb/repack-in-c' 2013-10-18 13:49:57 -07:00
fast-import contrib/fast-import/import-zips.py: use spaces instead of tabs 2013-02-24 13:31:08 -08:00
git-jump
git-shell-commands
gitview
hg-to-git hg-to-git: --allow-empty-message in git commit 2013-07-23 12:17:23 -07:00
hooks hooks/post-receive-email: set declared encoding to utf-8 2013-08-05 10:17:38 -07:00
mw-to-git Merge branch 'maint' 2013-09-24 23:19:00 -07:00
p4import
persistent-https
remote-helpers remote-hg: do not fail on invalid bookmarks 2014-03-25 12:05:24 -07:00
stats
subtree Merge branch 'jk/subtree-install-fix' 2013-11-04 14:58:08 -08:00
svn-fe svn-fe: allow svnrdump_sim.py to run with Python 3 2013-01-24 19:32:35 -08:00
thunderbird-patch-inline
vim
workdir
git-resurrect.sh
README
remotes2config.sh
rerere-train.sh

Contributed Software

Although these pieces are available as part of the official git
source tree, they are in somewhat different status.  The
intention is to keep interesting tools around git here, maybe
even experimental ones, to give users an easier access to them,
and to give tools wider exposure, so that they can be improved
faster.

I am not expecting to touch these myself that much.  As far as
my day-to-day operation is concerned, these subdirectories are
owned by their respective primary authors.  I am willing to help
if users of these components and the contrib/ subtree "owners"
have technical/design issues to resolve, but the initiative to
fix and/or enhance things _must_ be on the side of the subtree
owners.  IOW, I won't be actively looking for bugs and rooms for
enhancements in them as the git maintainer -- I may only do so
just as one of the users when I want to scratch my own itch.  If
you have patches to things in contrib/ area, the patch should be
first sent to the primary author, and then the primary author
should ack and forward it to me (git pull request is nicer).
This is the same way as how I have been treating gitk, and to a
lesser degree various foreign SCM interfaces, so you know the
drill.

I expect that things that start their life in the contrib/ area
to graduate out of contrib/ once they mature, either by becoming
projects on their own, or moving to the toplevel directory.  On
the other hand, I expect I'll be proposing removal of disused
and inactive ones from time to time.

If you have new things to add to this area, please first propose
it on the git mailing list, and after a list discussion proves
there are some general interests (it does not have to be a
list-wide consensus for a tool targeted to a relatively narrow
audience -- for example I do not work with projects whose
upstream is svn, so I have no use for git-svn myself, but it is
of general interest for people who need to interoperate with SVN
repositories in a way git-svn works better than git-svnimport),
submit a patch to create a subdirectory of contrib/ and put your
stuff there.

-jc