Comments (4)
See the FAQ "I did an incremental import and got an error from git-fast-import:" in the readme.
For some reason, the git history I reconstruct from the CVS repo has changed (it is the equivalent of a non-fast-foward git pull or push).
Use the --force flag to override the warning.
You may want sanity check to see what is going on; e.g., do
git diff --stat 0af95a69 d2b66baa
and check that the content of the tag is not getting corrupted.
from crap.
Thank you very much for your quick response. git diff --stat 0af95a69 d2b66baa
produces no output for me. So am I safe if I don't re-import the repository using the --force
option? If possible, I really don't want to do it again.
from crap.
In this case, it should be safe to either ignore the warning, or else to do an (incremental) import with --force.
The warning actually comes from the git-fast-import program (which crap-clone uses to write the git repo).
Reading the docs for git-fast-import, I believe that the consequence of the warning is that the specific ref in question is not updated, but other branches do get updated.
If you ever get this warning for a branch that people are actually commiting to, then you will want to use --force (otherwise you will not get the new commits).
As a matter of interest, how long does the import take for you? Approximately how many files and commits are there?
from crap.
Thanks again for your help.
I can't remember exactly how long it took me to import the CVS projects, probably one or two hours I guess. Not sure exactly how many files, but there are more than 20 projects having development history from 2010. I should say the speed is very good. Great job!
from crap.
Related Issues (20)
- Problem importing CVS module HOT 13
- Relative path patch reverted HOT 2
- Leaving a dirty working tree after incremental import HOT 3
- Does not compile with C99 HOT 5
- Segfault in fill_in_versions_and_parents() for version without '.' HOT 5
- Need a way to ignore CVS "cvs [update aborted]: invalid change text in ..." HOT 3
- Not an issue, just deep thank you! HOT 4
- A commit renaming a file with only a change of case breaks crap-clone on Cygwin HOT 4
- fatal error: pipeline.h: No such file or directory HOT 1
- crap fails to notice my password in .cvspas HOT 4
- Attempt to open a non-existent file HOT 2
- Support specifying a pserver password via the command-line
- Don't just accept git-forbidden tags HOT 1
- Fails to get a specific revision of a specific file HOT 3
- `libpipeline-devel` is not available on Centos8 stream. HOT 1
- Crap should honor CVS repository syntax HOT 4
- crap-clone gives up when encountering "malformed version" HOT 7
- Does not compile on Mac OS X 10.9 HOT 4
- Relative paths to local CVS repositories HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crap.