Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 3190 by [email protected]: Cannot checkout rbtools repository using
Mercurial
http://code.google.com/p/reviewboard/issues/detail?id=3190
SUMMARY
The Git repository for rbtools currently contains a Mercurial repository,
with its ‘.hg’ directory and all. This makes any Mercurial conversion
unusable, as Mercurial cannot handle one repository checked into another.
I would recommend either backing out dd528e0 or at least fixing it so that
it didn't contain a ‘.hg’ directory. Alternatives include scripting
repository creation, storing a bundle in the repository or fake something
equivalent to Git's bare repositories and move the files into place when
running the test suite.
You could well argue that Mercurial and/or hg-git should disallow this
behaviour, but I suspect no-one has wanted to this before…
STEPS TO REPRODUCE
1) Install Mercurial & hg-git
2) Clone the rbtools using Mercurial
EXPECTED RESULTS
Repository clones; update succeeds and I get what's equivalent to the
master branch in Git.
ACTUAL RESULTS
Repository clones; update fails as Mercurial _really_ doesn't like
repositories containing other repositories. Conceptually, it just doesn't
make sense.
$ hg clone git://github.com/reviewboard/rbtools.git
destination directory: rbtools
importing git objects into hg
updating to branch default
abort: path 'rbtools/clients/testdata/hg-repo/.hg/00changelog.i' is inside
nested repo 'rbtools/clients/testdata/hg-repo'
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings
--
You received this message because you are subscribed to the Google Groups
"reviewboard-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.