Fossil

View Ticket
Login

View Ticket

Ticket Hash: 0891dd21c601705df8dc4ea2c9888fc111de675a
Title: import fails to import a branch which is isolated from trunk
Status: Open Type: Code_Defect
Severity: Important Priority:
Subsystem: Resolution: Open
Last Modified: 2011-03-19 19:07:28
Version Found In: 84e755e213
Description:
Here's my repo: [http://github.com/zot/Xus]

There are 5 branches in the git repository.  2 of them are isolated from the original trunk, gh-pages and xus2 (so gitk shows three disconnected dags).  gh-pages shows up in the fossil repo, properly, but xus2 does not.  The other 3 branches do show up properly.  Fossil properly imports the commits, but doesn't label them with a xus2 tag.

I made the xus2 branch in a different way than I made gh-pages, so it could be missing a pointer that fossil depends on.  git fast-export|git fast-import does properly build a git repo, though but git fast-export|fossil import does not import apply the xus2 tag to the branch.

<hr /><i>anonymous claiming to be Bill Burdick added on 2011-03-19 18:43:48 UTC:</i><br />
(I forgot to put in my name when I opened this)

I noticed that when I list the timeline in the UI, the "weird" branch doesn't start with a box -- it just has a line that goes down to the bottom of the page.  Maybe this indicates a badly formed branch.

<hr /><i>anonymous claiming to be Bill Burdick added on 2011-03-19 18:57:05 UTC:</i><br />
Fossil doesn't appear to have the initial commit of the branch.  Pretty important for me, since I want to be able to compare to the base project.  To work around, I'll make another fossil branch off of the 2nd commit with the initial commit.

<hr /><i>anonymous claiming to be Bill Burdick added on 2011-03-19 19:01:30 UTC:</i><br />
Tagging the initial commit in Git made it import into fossil, although it's importing as a leaf.

<hr /><i>anonymous added on 2011-03-19 19:07:28 UTC:</i><br />
Ooh!  Adding a tag to the base commit made the branch appear properly.  Looks like that's an effective workaround for this bug.