Skip to content

Simple clone fails. #231

Description

@blowsie

When cloning a repository, the clone starts (I can see the files being created), but then the callback never fires.

This message comes from the terminal.
Process finished with exit code -1073741819 (0xC0000005)

var gitCred = "user:pass/";
var gitURL = "http://192.168.0.999/" + gitCred + "uk-servers-test/titan.git";
var gitDest = "D:/source/uk-servers-test/titan";

var clone = require("nodegit").Repo.clone,
    rmdir = require('rimraf');

// Empty
rmdir(gitDest, function (error) {

    debugger;   // THIS GETS HIT

    // Clone a given repository into a specific folder.
    clone(gitURL, gitDest, null, function (err, repo) {

        debugger; // THIS NEVER GETS HIT

        if (err) {
            throw err;
        }
    });
});


I am using windows 7, node version v0.10.32

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions