~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/dirstate.py

  • Committer: Martin Pool
  • Date: 2007-04-01 01:38:25 UTC
  • mto: (2389.1.1 0.15-to-trunk)
  • mto: This revision was merged to the branch mainline in revision 2390.
  • Revision ID: mbp@sourcefrog.net-20070401013825-zggofbeun985u2ri
(jam) trim st_ino to 32 bits in dirstate to avoid warning on win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
2371
2371
    # well within the noise margin
2372
2372
 
2373
2373
    # base64.encode always adds a final newline, so strip it off
2374
 
    return _encode(_pack('>llllll'
 
2374
    return _encode(_pack('>LLLLLL'
2375
2375
        , st.st_size, int(st.st_mtime), int(st.st_ctime)
2376
 
        , st.st_dev, st.st_ino, st.st_mode))[:-1]
 
2376
        , st.st_dev, st.st_ino & 0xFFFFFFFF, st.st_mode))[:-1]