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

add clone point, and turn off update after clone. #29

Open
lukaszb opened this issue Jan 24, 2011 · 2 comments
Open

add clone point, and turn off update after clone. #29

lukaszb opened this issue Jan 24, 2011 · 2 comments
Labels
Milestone

Comments

@lukaszb
Copy link
Member

lukaszb commented Jan 24, 2011

A proposal, to extend MercurialRepository/GitRepository to have clone point we clone at, and also disable default update to workingcopy after clone, i think it's waste of diskspace, and make the whole operation longer. I know that You can specify clone_point, and update option to mercurials api. Also i seen that clone_point is possible for git, and also --no-checkout options is an equivalent of no update in mercurial.

One option is to make
{{{

!python

def init(self, repo_path, create=False, baseui=None, clone_url=None,
clone_point=None):

}}}

and another

{{{

!python

def init(self, repo_path, create=False, baseui=None,
{'clone_url':None,'clone_point':None,'update':False}):
}}}

What do You think Lukasz ?


Reference: https://bitbucket.org/marcinkuzminski/vcs/issues/29/

@lukaszb
Copy link
Member Author

lukaszb commented Nov 18, 2011

@marcinkuzminski: I suppose we've already done that ;-) Please verify and close.

Also, just added bare repositories support for git during #94.

@marcinkuzminski
Copy link
Member

we made only update_after_clone, wich infact is a bad name, when now i think about it, it should be rather no_update,no_checkout to be more like command line option. But clone points are something not implemented. I do like it, and i think it's good value option. btw i'm more into keyworded arguments than dict

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

No branches or pull requests

2 participants