LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-24-2019, 05:21 PM   #1
slackware-current
Member
 
Registered: Jun 2019
Posts: 42

Rep: Reputation: Disabled
Mercurial 4.6 or higher for 14.2


Seem Bitbucket is dropping support for Mercurial this means 10 years of migrating code. For me that is about 51 active repo's
I would suggest slackware 14.2 upgrade to Mercurial 4.6 or higher.
or building it from current to make your migration easier.
Better to clone for migration with the newer version in order to get everything. Heads up.
 
Old 08-26-2019, 07:04 AM   #2
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,156
Blog Entries: 18

Rep: Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849
I wonder how many repos won't get migrated/relocated and be lost forever because of this.

Moral of the story... when you put your data on other people's servers you give them control over your future! Think twice.
 
1 members found this post helpful.
Old 08-26-2019, 03:39 PM   #3
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by GazL View Post
I wonder how many repos won't get migrated/relocated and be lost forever because of this.

Moral of the story... when you put your data on other people's servers you give them control over your future! Think twice.
Well, since Mercurial is a distributed version control system, any clone of those repos will be as good as another.
 
Old 08-26-2019, 04:08 PM   #4
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,156
Blog Entries: 18

Rep: Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849
If there are any. You know what people are like when it comes to making backups.
 
Old 08-26-2019, 06:29 PM   #5
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by GazL View Post
If there are any. You know what people are like when it comes to making backups.
Well, if you are working on code under the control of a DVC system, you have a clone of the repository.
 
1 members found this post helpful.
Old 08-26-2019, 08:04 PM   #6
GazL
LQ Guru
 
Registered: May 2008
Posts: 5,156
Blog Entries: 18

Rep: Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849Reputation: 2849
Quote:
Originally Posted by Richard Cranium View Post
Well, if you are working on code under the control of a DVC system, you have a clone of the repository.
True, unless it's a repo that's not been worked on for a while and someone foolishly decided they didn't need to keep a copy of it because it's on bitbucket and they can just clone it again next time they need to work on it.
 
Old 08-26-2019, 10:41 PM   #7
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by GazL View Post
True, unless it's a repo that's not been worked on for a while and someone foolishly decided they didn't need to keep a copy of it because it's on bitbucket and they can just clone it again next time they need to work on it.
Well, fair enough.

I'll admit that I think I have freaking CVS checkouts on stuff that has been long dead (xconq comes to mind). I've even got larch/arch clones sitting around as well as some hg clones of stuff I did for a company that hasn't existed for 10 years or so.

I'll stipulate that it is more likely for there to be a number of out-of-date clones than no clones at all.
 
2 members found this post helpful.
Old 09-05-2019, 01:22 PM   #8
slackware-current
Member
 
Registered: Jun 2019
Posts: 42

Original Poster
Rep: Reputation: Disabled
Thank you Richard it is a simple convert python script that rewrites HG to git need 4.6 or above. thank you for reply.
here is one for you.
Code:
Slackware package /tmp/git-2.23.0-x86_64-1.txz created.

bash-4.3# upgradepkg /tmp/git-2.23.0-x86_64-1.txz 

Error:  there is no installed package named git-2.23.0-x86_64-1.
        (looking for /var/log/packages/git-2.23.0-x86_64-1)


bash-4.3# upgradepkg /tmp/git-2.23.0-x86_64-1.txz
You see this is the only stable tool we have right now with slackware. so any reason why pkgtool does not see this.
14.2 64.
I am just trying to control 15 years of code little help from team be nice.
my OP statement was a fact not a a chat thing ok.
Ok read the script it removes old ty.

Last edited by slackware-current; 09-05-2019 at 01:30 PM.
 
Old 09-05-2019, 08:32 PM   #9
Richard Cranium
Senior Member
 
Registered: Apr 2009
Location: Carrollton, Texas
Distribution: Slackware64 14.2
Posts: 3,416

Rep: Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759Reputation: 1759
Quote:
Originally Posted by slackware-current View Post
Thank you Richard it is a simple convert python script that rewrites HG to git need 4.6 or above. thank you for reply.
here is one for you.
Code:
Slackware package /tmp/git-2.23.0-x86_64-1.txz created.

bash-4.3# upgradepkg /tmp/git-2.23.0-x86_64-1.txz 

Error:  there is no installed package named git-2.23.0-x86_64-1.
        (looking for /var/log/packages/git-2.23.0-x86_64-1)


bash-4.3# upgradepkg /tmp/git-2.23.0-x86_64-1.txz
You see this is the only stable tool we have right now with slackware. so any reason why pkgtool does not see this.
14.2 64.
I am just trying to control 15 years of code little help from team be nice.
my OP statement was a fact not a a chat thing ok.
Ok read the script it removes old ty.

I'm not sure what you are asking me.

This will install your version of git if the old git package is not installed on your system.
Code:
upgradepkg --install-new /tmp/git-2.23.0-x86_64-1.txz
 
Old 09-11-2019, 09:36 PM   #10
slackware-current
Member
 
Registered: Jun 2019
Posts: 42

Original Poster
Rep: Reputation: Disabled
Sorry just making a point the python convert script requires Mercurial 4.6 and above that's all I was saying and the
stable slackware 14.2 version is below that and will not convert. I built installed 5.3 from current.

https://bitbucket.org/blog/sunsettin...t-in-bitbucket
hg fast-export requires Mercurial 4.6 or higher

https://github.com/frej/fast-export
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mercurial/mercurial-server Jany Linux - Software 0 02-26-2013 08:44 AM
Need someone with RHEL to "install" Mercurial berrysoft Linux - Software 1 08-06-2008 07:18 AM
LXer: Open Source professionals higher skills, higher paid: survey LXer Syndicated Linux News 0 03-11-2008 04:41 PM
LXer: Introducing Mercurial, a distributed version control system LXer Syndicated Linux News 0 11-20-2007 07:40 AM
LXer: Mercurial Joins Software Freedom Conservancy, Retains Services of Software Freedom Law Center LXer Syndicated Linux News 0 09-19-2006 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration