Jump to content

ihor

Members
  • Posts

    2
  • Joined

  • Last visited

Posts posted by ihor

  1. Hi there!

    I have a local Plastic repo (RepoX@local) which was synced from RepoX@cloud. I am trying to use cm sync into newly initialized local git repo (at c:\plastic-git, so c:\plastic-git\.git is a git folder).

    So the question is, how exactly should I specify git repo url for cm sync command? That's what I've tried so far (based on examples from here and here):

    C:\plastic-git> git init
    Initialized empty Git repository in C:/plastic-git/.git/
    
    // try path as this:
    cm sync RepoX git /c/plastic-git
    Error: The transport for /c/plastic-git isn't supported, sorry
    
    // try path as that:
    cm sync RepoX git c:/plastic-git
    ssh: Could not resolve hostname c: No such host is known.
    
    - /main: Local changes
    
    - 0 changesets to pull
    - 45 changesets to push
    
    ssh: Could not resolve hostname c: No such host is known.
    Receiving references... OK
    There are changes to push.
    Exporting... OK
    Packaging...... OK
    Uploading... ... OK
    Synchronization completed
    
    Results:
    - Object count: 0
    - Branches: 1
    - Changesets involved: 45
    - Branches with conflicts: 0
    

    What am I missing? Using UI sync doesn't print even those errors and just happily reports 'success' with destination repo remaining empty. Any clues?

    P.S. I've tried also file:///plastic-git and file:///c:/plastic-git/.git and all the permutations of it.

    P.P.S. Also read through https://forum.plasticscm.com/topic/2658-how-to-sync-with-local-git-repository/ and https://www.plasticscm.com/documentation/gitsync/plastic-scm-version-control-gitsync-guide as well as  https://forum.plasticscm.com/topic/20215-fast-export-import-to-git/ too, which is worth another thread maybe, but still no success with any of it.

×
×
  • Create New...