logo
down
shadow

Migrating from CVS to Mercurial - how to handle cross-repo symbolic links?


Migrating from CVS to Mercurial - how to handle cross-repo symbolic links?

By : Jose Luis Mejia Roja
Date : January 10 2021, 01:57 PM
this one helps. Those common files should be considered as subRepos.
See "Mercurial Subrepos - How do you create them and how do they work?".
code :


Share : facebook icon twitter icon
How does Git handle symbolic links?

How does Git handle symbolic links?


By : ediavang
Date : March 29 2020, 07:55 AM
like below fixes the issue Git just stores the contents of the link (i.e. the path of the file system object that it links to) in a 'blob' just like it would for a normal file. It then stores the name, mode and type (including the fact that it is a symlink) in the tree object that represents its containing directory.
When you checkout a tree containing the link, it restores the object as a symlink regardless of whether the target file system object exists or not.
Migrating svn repo with non-flat branch hierarchy to mercurial

Migrating svn repo with non-flat branch hierarchy to mercurial


By : Naveen Govindarajan
Date : March 29 2020, 07:55 AM
I hope this helps you . The convert extension has a number of options to map paths and branch names. Maybe these can be of help. You could also try to make a copy of your SVN repository and in that copy move the branches into a flat structure before converting it. Finally, you could try to convert to a Mercurial repository, and then convert that repository again to do some cleaning up.
If that doesn’t help either, I fear that your options are limited... Probably you would have to write a custom script that manually converts the repository, or uses history rewriting to alter the converted repository. You could also take the convert or hgsubversion extension and modify them to suit your needs. Or you could decide to ditch the branches entirely, or only keep a few important ones and manually create them/clean them up.
Tracking hard or symbolic links with mercurial on Windows

Tracking hard or symbolic links with mercurial on Windows


By : wbenjamin2000
Date : March 29 2020, 07:55 AM
How do I make mercurial ignore symbolic links?

How do I make mercurial ignore symbolic links?


By : Captain Fab
Date : March 29 2020, 07:55 AM
I wish did fix the issue. No, there is no options for ignoring certain types of files. The only thing you can match on it the filename.
People typically handle this by making sure that the files they want ignored follow a pattern so they can be matched with a glob or regex pattern — or they make sure that these files are in a common subdirectory and ignore that.
Git : How to Create local repo with symbolic links to the Git main repo

Git : How to Create local repo with symbolic links to the Git main repo


By : Peks
Date : March 29 2020, 07:55 AM
shadow
Privacy Policy - Terms - Contact Us © 35dp-dentalpractice.co.uk