Thread (14 messages) flat view 14 messages, 5 authors, 2016-06-15

Re: cg-init bug

From: Zack Brown <hidden>
Date: 2016-06-15 22:41:59

On Sun, Jun 05, 2005 at 06:10:28PM +0200, Radoslaw Szkodzinski wrote:
Zack Brown wrote:
quoted
Hi,

I've been tracking Cogito. This problem occurred with Cogito version
1e2673d606dd39dc44b4eed2204ba349a448bc4d

I have a directory tree with several layers of subdirectories and about 1700
files. I tried to convert it to a git repository with 'cg-init'.
 
I think an ls -l of the repo would be useful... if it's not that big.
It's over 2000 lines, I'm not sure if that's considered big. But it's just
regular files and directories with regular-length names. Here's a sample:

-----------------------------------------------------------------------------
...
./kde/trans/german:
total 76
-rw-rw-r--  1 zbrown zbrown   230 Jan 19  2003 Makefile
-rw-rw-r--  1 zbrown zbrown    20 Jan 19  2003 Makefile.encoding
-rw-rw-r--  1 zbrown zbrown 15712 Jan 19  2003 kde20020522_37.xml
-rw-rw-r--  1 zbrown zbrown 15669 Jan 19  2003 kde20020522_37.xml.old
-rw-rw-r--  1 zbrown zbrown 12941 Jan 19  2003 kde20020605_38.xml
-rw-rw-r--  1 zbrown zbrown   464 Nov 16  2003 latest.txt
-rw-rw-r--  1 zbrown zbrown    32 Jan 19  2003 latest.xml
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 quotes/
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 raw/
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 topics/

./kde/trans/german/quotes:
total 0

./kde/trans/german/raw:
total 0

./kde/trans/german/topics:
total 0

./kde/trans/spanish:
total 140
-rw-rw-r--  1 zbrown zbrown   230 Jan 19  2003 Makefile
-rw-rw-r--  1 zbrown zbrown    20 Jan 19  2003 Makefile.encoding
-rw-rw-r--  1 zbrown zbrown   198 Jan 19  2003 index.xml.bak
-rw-rw-r--  1 zbrown zbrown 24211 Jan 19  2003 kde20020118_31.xml
-rw-rw-r--  1 zbrown zbrown 12061 Jan 19  2003 kde20020215_32.xml
-rw-rw-r--  1 zbrown zbrown 12748 Jan 19  2003 kde20020222_33.xml
-rw-rw-r--  1 zbrown zbrown 12468 Jan 19  2003 kde20020605_38.xml
-rw-rw-r--  1 zbrown zbrown 18517 Jan 19  2003 kde20020619_39.xml
-rw-rw-r--  1 zbrown zbrown 17001 Jan 19  2003 kde20020710_40.xml
-rw-rw-r--  1 zbrown zbrown   464 Nov 16  2003 latest.txt
-rw-rw-r--  1 zbrown zbrown    32 Jan 19  2003 latest.xml
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 quotes/
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 raw/
drwxrwxr-x  2 zbrown zbrown  4096 Nov 16  2003 topics/

./kde/trans/spanish/quotes:
total 0
...
-----------------------------------------------------------------------------
If it is, you may have hit the limitation of the length of command line.
If it's so, repeat the commands.
I did that when I first saw the problem, and although it did seem to add a few
dozen files at a time, eventually it refused to add any more files, even though
cg-status reported many files still as '?'.
However, if I'd want to add everything to the repo, I'd do:
cg-status | sed "s/? //" | xargs cg-add
But shouldn't cg-init take care of that for me automatically when I create the
repo?

Be well,
Zack
AstralStorm
-- 
Zack Brown
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help