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 23, 2011 · 0 comments
Open

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

lukaszb opened this issue Jan 23, 2011 · 0 comments

Comments

@lukaszb
Copy link
Member

lukaszb commented Jan 23, 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/

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

1 participant