Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3612062
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T21:57:10+00:00 2026-05-18T21:57:10+00:00

I have a repository on my local machine that is under SVN. For various

  • 0

I have a repository on my local machine that is under SVN. For various reasons the SVN branch that I’m working on is locked and I’m not supposed to make another branch. I’d like to be able to make many local commits via Mercurial, then copy/push those changes up to a network drive so that they’re backed up every night. When the SVN branch is open again I’ll push the final changes up to it.

None of this seems out of the ordinary. I made my local repo, made some changes to it and commited them. Then I made an empty repo on the remote drive and tried to hg push the changes. After several hours it was only 33% done. The total repo is about 80MB (6.7GB of files in the code folder). I really don’t want to wait all day every time I make a commit.

I decided to bag the hg push and use hg clone instead.

It went like this (using PowerShell):

PS C:\Dev\Projects\Project1> hg status
PS C:\Dev\Projects\Project1> hg clone H:\Repo\Projects
**abort: repository H:\Repo\Projects not found!**

Ok, so I apparently need a repository in H:\Repo\Projects. So I go over there and use hg init to make an empty repository. After that I try this:

PS C:\Dev\Projects\Project1> hg clone H:\Repo\Projects
destination directory: Projects
**abort: destination 'Projects' is not empty**

What does Mercurial want here? An empty directory? Well no, then it can’t find a repo. An empty repo? No then it tells me that the destination is not empty. A brand new folder like hg clone H:\Repo\Projects\TheNewFolder? No, then I get a repo not found message.

What’s the best way (or any) way to do this? I seem to be stuck between “takes all day” or “doesn’t work at all”.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-18T21:57:11+00:00Added an answer on May 18, 2026 at 9:57 pm

    If you’re in C:\Dev\Projects\Project1 and you want to clone it to H:\Repo\Projects the command is cd .. followed by hg clone Project1 H:\Repo\Projects which says clone Project1 to there. You were trying to clone H:\Repo\Projects into the current directory.

    Clone won’t be any faster than push — clone is just hg init ; hg pull.

    There’s no reason your 80MB repo (unless you meant 80GB) should take more than a blink to push/pull to a new empty repo. If it was 80GB it’ll only be slow that once and henceforth push/pull will just send the new changeset.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

My setup is that I have a local Maven repository on my machine, and
I have various Git projects that are on my local machine. I have a
I have a project on my local machine I've been working on alone, that
I have a Git repository on my local machine that I cloned from my
I have installed SVN on a local machine and created a repository there. Now
I have a local repository I'm working on and its remote is hosted on
I have checked out files from my svn repository to a local project folder.
Totally new to Capistrano. I have a local git repository that I want to
We have a repository of common code on svn that we use for many
I have a local machine (laptop) and a shared Mercurial repository on another machine

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.