* git-cvsimport: all my files are marked deleted ?
@ 2007-03-10 18:09 Xavier Maillard
2007-03-10 18:51 ` Raimund Bauer
0 siblings, 1 reply; 4+ messages in thread
From: Xavier Maillard @ 2007-03-10 18:09 UTC (permalink / raw)
To: git
Hi,
I am slowly moving all my projects from several SCM into GIT.
I am at converting all my CVS managed project for instance and I
miserably failed at understanding what is happening.
So I installed CVSps as per requested (it is version from Yann
Dirson's repository).
I prepared a local and clean checkout from my CVS.
Then I ran git-cvsimport like this:
git cvsimport -v -A /tmp/author-conv -a -i -C <directory> <cvs module>
I think it finishes successfully but here are the latest messages:
Generating pack...
Done counting 202 objects.
Deltifying 202 objects.
100% (202/202) done
Writing 202 objects.
100% (202/202) done
Total 202 (delta 102), reused 0 (delta 0)
Pack pack-8a456d18c811d4a503d1e64183d223407e9d379d created.
Removing unused objects 100%...
Done.
DONE; creating master branch
Then I went back to <directory> and I just did 'ls'. Directory is
empty (except the .git directory).
git status reports this:
# Changed but not updated:
# (use "git add/rm <file>..." to update what will be committed)
#
# deleted: AUTHORS
# SKIPPED FILES HERE STILL MARKED AS deleted
#
no changes added to commit (use "git add" and/or "git commit -a")
git branch, git tag -l /et caetera/ have all I got onto my CVS.
What can I do to fix that and have "real" content into my project
?
Regards,
--
Xavier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-cvsimport: all my files are marked deleted ?
2007-03-10 18:09 git-cvsimport: all my files are marked deleted ? Xavier Maillard
@ 2007-03-10 18:51 ` Raimund Bauer
2007-03-10 19:37 ` Xavier Maillard
2007-04-04 20:22 ` Frank Lichtenheld
0 siblings, 2 replies; 4+ messages in thread
From: Raimund Bauer @ 2007-03-10 18:51 UTC (permalink / raw)
To: Xavier Maillard; +Cc: git
On Sat, 2007-03-10 at 19:09 +0100, Xavier Maillard wrote:
> Then I went back to <directory> and I just did 'ls'. Directory is
> empty (except the .git directory).
'git checkout -f' is your friend here.
Not long ago I was wondering about the same thing ...
--
best regards
Ray
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-cvsimport: all my files are marked deleted ?
2007-03-10 18:51 ` Raimund Bauer
@ 2007-03-10 19:37 ` Xavier Maillard
2007-04-04 20:22 ` Frank Lichtenheld
1 sibling, 0 replies; 4+ messages in thread
From: Xavier Maillard @ 2007-03-10 19:37 UTC (permalink / raw)
To: Raimund Bauer; +Cc: git
From: Raimund Bauer <ray007@gmx.net>
On Sat, 2007-03-10 at 19:09 +0100, Xavier Maillard wrote:
> Then I went back to <directory> and I just did 'ls'. Directory is
> empty (except the .git directory).
'git checkout -f' is your friend here.
Not long ago I was wondering about the same thing ...
Oh great ! You are my safer !
--
Xavier
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: git-cvsimport: all my files are marked deleted ?
2007-03-10 18:51 ` Raimund Bauer
2007-03-10 19:37 ` Xavier Maillard
@ 2007-04-04 20:22 ` Frank Lichtenheld
1 sibling, 0 replies; 4+ messages in thread
From: Frank Lichtenheld @ 2007-04-04 20:22 UTC (permalink / raw)
To: Raimund Bauer; +Cc: Xavier Maillard, git
On Sat, Mar 10, 2007 at 07:51:33PM +0100, Raimund Bauer wrote:
> On Sat, 2007-03-10 at 19:09 +0100, Xavier Maillard wrote:
> > Then I went back to <directory> and I just did 'ls'. Directory is
> > empty (except the .git directory).
>
> 'git checkout -f' is your friend here.
>
> Not long ago I was wondering about the same thing ...
I was hit by this today, too. Luckily I remembered vaguely that
it came up on the list not long ago :)
But it leaves me with the question (to the list): Why doesn't do
git-cvsimport a checkout -f? It seems like the right thing to
do (at the very least for initial imports that create a new repository).
Gruesse,
--
Frank Lichtenheld <frank@lichtenheld.de>
www: http://www.djpig.de/
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-04-04 20:23 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-03-10 18:09 git-cvsimport: all my files are marked deleted ? Xavier Maillard
2007-03-10 18:51 ` Raimund Bauer
2007-03-10 19:37 ` Xavier Maillard
2007-04-04 20:22 ` Frank Lichtenheld
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).