/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: Vincent Ladeuil
  • Date: 2009-03-12 04:00:48 UTC
  • mto: (4132.1.1 trunk)
  • mto: This revision was merged to the branch mainline in revision 4135.
  • Revision ID: v.ladeuil+lp@free.fr-20090312040048-x8w6pv3h7xfcn7mx
Fallback to old revision id if the current one doesn't exist in
the requested revision inventory.

* bzrlib/tests/blackbox/test_cat.py:
(TestCat.test_cat_different_id): Complete test.

* bzrlib/inventory.py:
(Inventory.__repr__): Limit debug output to 2048 characters or big
inventories produce too much noise.

* bzrlib/builtins.py:
(cmd_cat._run): The file id in the basis tree may not exist in the
requested revision. Catch the exception and try with the file id
in the revision tree.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _DIRSTATE_HELPERS_C_H
 
2
#define _DIRSTATE_HELPERS_C_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