Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

why git is necessary to migrate? I use svn. #62

Open
dengshaodong opened this issue Apr 10, 2015 · 2 comments
Open

why git is necessary to migrate? I use svn. #62

dengshaodong opened this issue Apr 10, 2015 · 2 comments

Comments

@dengshaodong
Copy link

When run ember-cli-migrator in a environment without git installed, it will just fail.

D:\work\client\kiford-front\app>ember-cli-migrator
Preprocessing files
Git Move Moving adapter.js to tmp\app\adapter.js
fatal: Not a git repository (or any of the parent directories): .git
child_process.js:1389
throw err;
^
Error: Command failed: git mv adapter.js tmp\app\adapter.js
fatal: Not a git repository (or any of the parent directories): .git

at checkExecSyncError (child_process.js:1346:13)
at execSync (child_process.js:1386:13)
at null.<anonymous> (C:\Users\dengshaodong\AppData\Roaming\npm\node_modules\

ember-cli-migrator\lib\ember-migrator.js:93:9)
at Array.forEach (native)
at EmberMigrator_run [as run](C:UsersdengshaodongAppDataRoamingnpmnod
e_modulesember-cli-migratorlibember-migrator.js:84:32)
at Object. (C:\Users\dengshaodong\AppData\Roaming\npm\node_module
s\ember-cli-migrator\bin\ember-cli-migrator:30:10)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)

@fivetanley
Copy link
Owner

Seems like we should have the ability to disable git.

@fivetanley fivetanley reopened this Apr 15, 2015
@KedneckInc
Copy link

It would be a very good option to add. I'm just trying the migrator out on a dummy Yeoman project that isn't in git. While I could add the project to git, that's a bit of a pain, because I'll need to completely eradicate it afterward.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants