~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/_dirstate_helpers_pyx.h

  • Committer: John Arbash Meinel
  • Date: 2007-05-01 22:41:41 UTC
  • mto: (2476.3.1 111702)
  • mto: This revision was merged to the branch mainline in revision 2479.
  • Revision ID: john@arbash-meinel.com-20070501224141-23intuz4dabm0j73
Fix bug #75721. Update the BzrDir api to add clone_on_transport()
This allows us to pass around a Transport which we already have open
rather calling get_transport(url).
This is mostly noticeable in 'bzr push' which was connecting 3-4 times.

Show diffs side-by-side

added added

removed removed

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