Skip to contentSkip to conversation

how to git-svnimport gnucash?

DISCUSSION Ray Lehtiniemi 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

hi all

does anyone have a magic command line that will import the gnucash svn repo?

http://svn.gnucash.org/repo/gnucash/trunk

i've tried every variation of the command line i can think of and keep getting pages and pages of this sort of thing:

15420: Unrecognized path: /gnucash/trunk/src/gnome-utils/gnc-html-graph-gog.c 15421: Unrecognized path: /gnucash/trunk/src/engine/gnc-commodity.c 15421: Unrecognized path: /gnucash/trunk/src/engine/iso-4217-currencies.scm 15422: Unrecognized path: /gnucash/trunk/src/engine/iso-4217-currencies.scm

followed by this sort of thing:

Generating pack...
Done counting 0 objects.
Nothing new to pack.
Removing unused objects 100%...
Done.
cp: cannot stat `/opt/gnucash/src/import/.git/refs/heads/origin': No such file or directory
fatal: master: not a valid SHA1
warning: You appear to be on a branch yet to be born.
warning: Forcing checkout of HEAD.
fatal: just how do you expect me to merge 0 trees?
checkout failed: 256

the unrecognized path messages are coming from the call to split_path() located inside commit_all().

i'm using git 1.5.0-rc2 under suse 10.0 and opensuse 10.2 on x86_64.

thanks in advance
ray