Period in repo name causes problems

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Medium
    • None
    • Affects Version/s: 1.1
    • Component/s: Repositories
    • None

      git 1.7.10.1 on OSX

      When I try to create a repository with e.g. a slash in the name, it is not accepted with the message
      "Repository names are limited to 64 characters. They must start with a letter or number and may contain spaces, hyphens, underscores and periods"

      However, in Stash 1.1.0 a repo with a period in its name causes problems.

      Stash 1.0.3: git clone works fine

      $ git clone http://admin@localhost:7990/git/TESTPROJECT_1/testrepo_1.0.git
      Cloning into 'testrepo_1.0'...
      Password for 'http://admin@localhost:7990': 
      warning: You appear to have cloned an empty repository.
      

      Stash 1.1.0: git clone using http fails, using ssh succeeds

      $ git clone http://rene@localhost:7990/scm/RENE/test.git
      Cloning into 'test'...
      Password for 'http://rene@localhost:7990': 
      warning: You appear to have cloned an empty repository.
      
      $ git clone http://rene@localhost:7990/scm/RENE/test_2.git
      Cloning into 'test_2'...
      Password for 'http://rene@localhost:7990': 
      warning: You appear to have cloned an empty repository.
      
      $ git clone http://rene@localhost:7990/scm/RENE/test_1.0.git
      Cloning into 'test_1.0'...
      Password for 'http://rene@localhost:7990': 
      fatal: remote error: Repository does not exist
      The requested repository does not exist, or you do not have permission to
      access it.
      
      $ git clone http://rene@localhost:7990/scm/RENE/te.st.git
      Cloning into 'te.st'...
      Password for 'http://rene@localhost:7990': 
      fatal: remote error: Repository does not exist
      The requested repository does not exist, or you do not have permission to
      access it.
      
      $ git clone ssh://git@localhost:7999/RENE/test.git
      Cloning into 'test'...
      Enter passphrase for key '/Users/rverschoor/.ssh/id_rsa': 
      warning: You appear to have cloned an empty repository.
      
      $ git clone ssh://git@localhost:7999/RENE/test_1.0.git
      Cloning into 'test_1.0'...
      Enter passphrase for key '/Users/rverschoor/.ssh/id_rsa': 
      warning: You appear to have cloned an empty repository.
      

            Assignee:
            Unassigned
            Reporter:
            Rene Verschoor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: