mainSavannah Administration - Support: sr #110915, Please help me import a mercurial...

 
 

sr #110915: Please help me import a mercurial repository into the new group cc-mode.

Submitter:  Alan Mackenzie <acmacm>
Submitted:  Wed 02 Aug 2023 02:47:43 PM UTC
   
 
Category:  None Priority:  5 - Normal
Severity:  3 - Normal Status:  Done
Privacy:  Public Assigned to:  ineiev
Operating System:  None Open/Closed:  Closed
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 03 Aug 2023 11:49:56 AM UTC, comment #3: 

Hello, Ineiev,

Thanks!  I now have the desired repository uploaded to Savannah.

Alan Mackenzie <acmacm>
Thu 03 Aug 2023 08:38:30 AM UTC, comment #2: 


> So, can I remove the existing repo at Savannah, and if so, how?


Users can't remove their repositories; however, since it contained nothing valuable, I've reset it.

Ineiev <ineiev>
Site Administrator
Wed 02 Aug 2023 05:21:45 PM UTC, comment #1: 

Hello, again.

I think I can transfer the existing repository to a new one using

    $ hg bundle -a filename

and

    $ cd ~/new-repo
    $ hg init
    $ hg unbundle filename

.  This repo I could then transfer to Savannah with

    $ hg push.

The trouble is, I already have a dummy repository in place with a single commit.  I don't want to hg unbundle onto this repo, since that would make my commit revision numbers off by one from the numbers in my notes.

So, can I remove the existing repo at Savannah, and if so, how?  If not, would you do this for me, please.

Thanks!

Alan Mackenzie <acmacm>
Wed 02 Aug 2023 02:47:43 PM UTC, original submission:  

Hello!

Yesterday I created an hg repository for cc-mode, having committed a dummy file for the purpose.

Now, when I point my existing repository's .hg/hgrc at ssh://acmacm@hg.savannah.nongnu.org/cc-mode and try

    $ hg incoming

, I get the error message "abort: repository is unrelated".

How do I import the existing repository into Savannah?  I couldn't see any way in the documentation (page UsingHg) to do this - this documentation envisages initialising a new repository with a dummy file, something I did.

Incidentally, I think I want to discard that hg repo from yesterday before importing the old repo, so that the commit version numbers will stay the same.

Please tell me what I am missing, and how I should proceed.

Thanks!

Alan Mackenzie <acmacm>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by ineiev (Posted a comment)
  • -email is unavailable- added by acmacm (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2023-08-03 ineiev StatusNone Done
        Assigned toNone ineiev
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code