Cogito-0.12: problem with local clone

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Cogito-0.12: problem with local clone

From: Wolfgang Denk <hidden>
Date: 2016-06-15 22:42:01

Hello,

I have problems with Cogito-0.12 when trying to clone a "local" tree:

My "original" tree is in /git/u-boot-denx (imported from CVS); "/git"
is a directory mounted over NFS; all this is under Fedora Core  4  in
case it matters:

	-> cd /git/u-boot-denx
	-> cg-tag-ls
	/git/u-boot-denx/.git/refs/tags
	LABEL_2002_11_05_0120   405f4884816e733f8ba3675d2ead1b44fd4a2ad2
	LABEL_2002_11_05_1735   a21c24faf81d6e2c2cf21bc856b97994a7fb0950
	LABEL_2002_11_10_2310   90e51a047bc112515e1257077b4c898bedf29e69
	...
	U-Boot-1_1_1    eaa609e49846203434aa3b20e7084c79e89ea952
	U-Boot-1_1_2    3621a36bfb037a47a59b0c02d3686522c8d895bf
	U_BOOT_0_1_0    dc9791586a71cb80c255a830a38d4a2b092398c3
	-> cg-tag-ls | wc -l
	131

When I try to create a local clone I get lots of error messages:

	-> mkdir git-local
	-> cd git-local
	-> cg-clone /git/u-boot-denx 
	/home/wd/git/u-boot-denx
	defaulting to local storage area
	`/git/u-boot-denx/.git/refs/heads/master' -> `.git/refs/heads/origin'
	copy 9f94f652ff7a5be5263ca0ef35a512ac7f29be98
	copy db88a44625a80f558bcde5aeda291c54c737b573
	copy 30a7a8a8d49f7069403895f326de4905f63d8855
	...
	copy 9c2deccb2acfb1d0d77b733a3f19d12ea9d58ca2
	copy f548442a0fe39729a11b1d384708c7cc3b6bed20
	copy 2183da96d548c02bd4f99b05e673395f81212878
	`/git/u-boot-denx/.git/refs/tags/U_BOOT_0_1_0' -> `.git/refs/tags/U_BOOT_0_1_0'
	cp: cannot create link `.git/refs/tags/U_BOOT_0_1_0': Invalid cross-device link
	`/git/u-boot-denx/.git/refs/tags/LABEL_2002_11_05_0120' -> `.git/refs/tags/LABEL_2002_11_05_0120'
	cp: cannot create link `.git/refs/tags/LABEL_2002_11_05_0120': Invalid cross-device link
	`/git/u-boot-denx/.git/refs/tags/LABEL_2002_11_05_1735' -> `.git/refs/tags/LABEL_2002_11_05_1735'
	cp: cannot create link `.git/refs/tags/LABEL_2002_11_05_1735': Invalid cross-device link
	...
	`/git/u-boot-denx/.git/refs/tags/LABEL_2005_06_20_2345' -> `.git/refs/tags/LABEL_2005_06_20_2345'
	cp: cannot create link `.git/refs/tags/LABEL_2005_06_20_2345': Invalid cross-device link
	`/git/u-boot-denx/.git/refs/tags/LABEL_2005_07_04_0202' -> `.git/refs/tags/LABEL_2005_07_04_0202'
	cp: cannot create link `.git/refs/tags/LABEL_2005_07_04_0202': Invalid cross-device link
	unable to get tags list (non-fatal)
	/home/wd/git/u-boot-denx/.git/refs/tags
	New branch: 9f94f652ff7a5be5263ca0ef35a512ac7f29be98
	Cloned (origin /git/u-boot-denx available as branch "origin")
	Cloned to u-boot-denx/ (origin /git/u-boot-denx available as branch "origin")

And the resulting tree is indeed missing lots of tags:

	-> cg-tag-ls
	/home/wd/git/u-boot-denx.OLD/.git/refs/tags
	LABEL_2003_06_28_0050-stable    f50d58228a5be736e6ed0f8dd3202b9ea26169bf
	LABEL_2003_06_28_0130-stable    d8a9a48da39a79497d752d34d30b5edf3e3162a8
	LABEL_2003_06_28_1800-stable    b82064a05f9c88a6144dc8f894f9e312e134b6b3
	U_BOOT_0_1_0    d4e4163d86db0238264b7d06d9f023c16f1e371a
	-> cg-tag-ls | wc -l
	5
	-> 


Am I doing something wrong?
	

Best regards,

Wolfgang Denk

-- 
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Include the success of others in your dreams for your own success.

Re: Cogito-0.12: problem with local clone

From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:02

Dear diary, on Fri, Jul 08, 2005 at 01:00:55AM CEST, I got a letter
where Wolfgang Denk [off-list ref] told me that...
Hello,
Hello,
I have problems with Cogito-0.12 when trying to clone a "local" tree:
sorry for the late reply.
When I try to create a local clone I get lots of error messages:
Yes, Cogito did not handle cross-filesystem local pulls correctly.
Should be fixed now.

Thanks,

-- 
				Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
<Espy> be careful, some twit might quote you out of context..
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help