Menu

#114 Change local dir name in the Checkout URL

open
nobody
None
2016-01-30
2013-05-12
No

On the Code page of my project ( infact any project on sf ), the displayed checkout URL includes a default branch named: "project-name"-code. For example, for one of my projects,

svn checkout --username=swetank-saha https://svn.code.sf.net/p/collab-edit/code/ collab-edit-code

Now, I don't have a top level folder named collab-edit-code.
How may I change this to reflect the actual branch name CollabEdit ( which is the branch I want users to checkout ) ?

Thanks.

Discussion

  • Swetank Kumar Saha

    Just to clarify. The Admin Tools allows to configure the URL, but it does not allow to customize the local target directory name. I want it to be the branch name itself.
    Infact, if it is customizable, it will be better to specify it to be local current directory. This way it will cleanly reproduce the directory structure I want. So, for my project it will be desirable to the have the checkout URL as:

    "svn checkout --username=swetank-saha https://svn.code.sf.net/p/collab-edit/code/ ." [Note the '.' at the end]

     

    Last edit: Swetank Kumar Saha 2013-05-12
  • Rich Bowen

    Rich Bowen - 2013-05-14

    I'm going to move this to the feature requests queue for action. What you request is not currently an available feature.

     
  • Rich Bowen

    Rich Bowen - 2013-05-14

    Ticket moved from /p/forge/site-support/4001/

    Can't be converted:

     
  • Dave Brondsema

    Dave Brondsema - 2013-05-14
    • summary: Change default branch in the Checkout URL --> Change local dir name in the Checkout URL
    • status: unread --> open
    • Category: -->
     
  • Bill Wohler

    Bill Wohler - 2016-01-30

    Agreed, although I'd want the project name to be the default working directory, not the last component. This is a more general default. The difference of opinion shows that a) the current default working directory is loved by none, and b) the working directory should be editable since no default will please everybody.

    For example, the suggested clone command for my project is

    git clone ssh://wohler@git.code.sf.net/p/mh-e/git mh-e-git
    

    I'd prefer it to be:

    git clone ssh://wohler@git.code.sf.net/p/mh-e/git mh-e
    
     

Log in to post a comment.

MongoDB Logo MongoDB