/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_c.h

  • Committer: adwi2
  • Date: 2008-07-11 23:05:17 UTC
  • mto: This revision was merged to the branch mainline in revision 3550.
  • Revision ID: adwi2@014661-xp-20080711230517-6giupapiqdpuduir
Permits Windows to serve all paths on all drives.

 1) Special case in local transport for "/" on Windows
    * This is taken to be an empty base path
 2) urlutils._win32_path_(from|to)_url changes
    * file:/// == / and vice versa

This fixes the problems detailed in #240910
 * Since the server started by use of bzr+ssh:// uses '/' as a base,
   you can now access paths that are not on the root of the drive
   Python.exe is hosted on
 * You may now voluntarily serve all paths from a single server process, 
   should you find this desirable

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef _DIRSTATE_HELPERS_PYX_H
2
 
#define _DIRSTATE_HELPERS_PYX_H
 
1
#ifndef _DIRSTATE_HELPERS_C_H
 
2
#define _DIRSTATE_HELPERS_C_H
3
3
 
4
4
/* for intptr_t */
5
5
#ifdef _MSC_VER
6
6
#include <io.h>
7
7
#else
8
 
 
9
 
#if defined(__SVR4) && defined(__sun)
10
 
#include <inttypes.h>
11
 
#else
12
8
#include <stdint.h>
13
9
#endif
14
10
 
15
11
#endif
16
 
 
17
 
#endif