Skip to content

Simple clone fails. #231

Closed
Closed

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

Activity

  1. tbranyen commented on Oct 11, 2014

    @tbranyen
    Member

    Hey @blowsie we're working on clone atm. You can follow our progress in the clone-methods branch. At the moment all clones work except for SSH, but SSH should be in next week.

  2. tbranyen commented on Oct 11, 2014

    @tbranyen
    Member

    Also note that the clone method has moved to require('nodegit').Clone.clone.

  3. johnhaley81 commented on Oct 23, 2014

    @johnhaley81
    Collaborator

    @blowsie could you try this again on latest?

  4. johnhaley81 commented on Oct 23, 2014

    @johnhaley81
    Collaborator

    I'm closing this for now. You can re-open if it's still not working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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