Fossil

Check-in [23e51b9d]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Preserve any URL flags that get added when parsing the original URL.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | url-password-fixes
Files: files | file ages | folders
SHA1:23e51b9d9b6f126ac38bc5c0783ed0743a9b25c7
User & Date: andybradford 2013-11-04 15:12:22
Context
2013-11-05
02:08
Make it so password prompts during commit are also honored. check-in: 1854e090 user: andybradford tags: url-password-fixes
2013-11-04
15:12
Preserve any URL flags that get added when parsing the original URL. check-in: 23e51b9d user: andybradford tags: url-password-fixes
2013-11-02
17:26
Restore URL flags because user_select() causes them to be altered. This allows the save password prompt to appear when required. check-in: 817d795f user: andybradford tags: url-password-fixes
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/sync.c.

117
118
119
120
121
122
123

124
125
126
127
128
129
130
    clone_ssh_db_set_options();
  }
  url_parse(zUrl, urlFlags);
  if( g.urlProtocol==0 ){
    if( urlOptional ) fossil_exit(0);
    usage("URL");
  }

  user_select();
  g.urlFlags = urlFlags;
  if( g.argc==2 ){
    if( ((*pSyncFlags) & (SYNC_PUSH|SYNC_PULL))==(SYNC_PUSH|SYNC_PULL) ){
      fossil_print("Sync with %s\n", g.urlCanonical);
    }else if( (*pSyncFlags) & SYNC_PUSH ){
      fossil_print("Push to %s\n", g.urlCanonical);







>







117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
    clone_ssh_db_set_options();
  }
  url_parse(zUrl, urlFlags);
  if( g.urlProtocol==0 ){
    if( urlOptional ) fossil_exit(0);
    usage("URL");
  }
  urlFlags = g.urlFlags;
  user_select();
  g.urlFlags = urlFlags;
  if( g.argc==2 ){
    if( ((*pSyncFlags) & (SYNC_PUSH|SYNC_PULL))==(SYNC_PUSH|SYNC_PULL) ){
      fossil_print("Sync with %s\n", g.urlCanonical);
    }else if( (*pSyncFlags) & SYNC_PUSH ){
      fossil_print("Push to %s\n", g.urlCanonical);