Advertisement
gareins

Untitled

Feb 9th, 2016
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. I have two hg repositories: one has 30 revisions, the other has 100+ revisions. Second one was created like so:
  2. - convert first hg repo to git repo (client uses hg, while our company uses git),
  3. - make lots of commits,
  4. - convert back to hg
  5.  
  6. Now, 27th revision of second repo is the same as last (30th) revision of first repo. Same as in same commit message and the same files when comparing with meld. Now I would like to "rebase" 28th revision of second repo on 30th revision of first repo so it would become revision #31 . Then repo1/rev29 would be the same as repo2/rev32 and so on.
  7.  
  8. Is there a link that explains how to do this? I think I could do this with a bash script, but I am sure, there is a better way :)
  9. If anyone could help, that would be awesome :)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement