Fossil SCM

import fails to import a branch which is isolated from trunk

Open

0891dd21c601705… · opened 15 years ago

Type
Code_Defect
Priority
Severity
Important
Resolution
Open
Subsystem
Created
March 19, 2011 6:26 p.m.

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.


anonymous claiming to be Bill Burdick added on 2011-03-19 18:43:48 UTC: (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.


anonymous claiming to be Bill Burdick added on 2011-03-19 18:57:05 UTC: 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.


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


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





Keyboard Shortcuts

Open search /
Next entry (timeline) j
Previous entry (timeline) k
Open focused entry Enter
Show this help ?
Toggle theme Top nav button