Merge lp:~bialix/bzr/2.4-bug-967060 into lp:bzr/2.4
Proposed by
Alexander Belchenko
Status: | Merged |
---|---|
Approved by: | Martin Packman |
Approved revision: | no longer in the source branch. |
Merged at revision: | 6069 |
Proposed branch: | lp:~bialix/bzr/2.4-bug-967060 |
Merge into: | lp:bzr/2.4 |
Diff against target: |
88 lines (+37/-7) 3 files modified
bzrlib/_walkdirs_win32.pyx (+14/-7) bzrlib/tests/test__walkdirs_win32.py (+19/-0) doc/en/release-notes/bzr-2.4.txt (+4/-0) |
To merge this branch: | bzr merge lp:~bialix/bzr/2.4-bug-967060 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Martin Packman (community) | Approve | ||
Jelmer Vernooij (community) | Approve | ||
John A Meinel | Approve | ||
Review via email: mp+99737@code.launchpad.net |
Commit message
Provide st_uid and st_gid on _Win32Stat so it looks more like a normal stat object
Description of the change
_Win32Stat object provides members st_uid and st_gid, those are present in Python's os.stat object. These members required for external tools like bzr-git and dulwich. (Bug #967060).
I've based the fix on 2.4 branch to make sure we can merge it easily from 2.4 up to trunk (2.6). Actually we need this fix in bzr 2.5. I don't think there are plans to provide new windows installers for next bzr 2.4 releases.
To post a comment you must log in.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 3/28/2012 4:11 PM, Alexander Belchenko wrote: /bugs.launchpad .net/bzr/ +bug/967060 /code.launchpad .net/~bialix/ bzr/2.4- bug-967060/ +merge/ 99737
> Alexander Belchenko has proposed merging
> lp:~bialix/bzr/2.4-bug-967060 into lp:bzr/2.4.
>
> Requested reviews: bzr-core (bzr-core) Related bugs: Bug #967060 in
> Bazaar: "[win32] `bzr add file` in git tree fails with traceback:
> _Win32Stat misses st_uid/st_gid members"
> https:/
>
> For more details, see:
> https:/
>
> _Win32Stat object provides members st_uid and st_gid, those are
> present in Python's os.stat object. These members required for
> external tools like bzr-git and dulwich. (Bug #967060).
>
> I've based the fix on 2.4 branch to make sure we can merge it
> easily from 2.4 up to trunk (2.6). Actually we need this fix in bzr
> 2.5. I don't think there are plans to provide new windows
> installers for next bzr 2.4 releases.
>
I can confirm that 'os.stat()' on Python returns 0 for uid and gid on
regular files. So it seems great to me.
John
=:->
review: approve
-----BEGIN PGP SIGNATURE----- enigmail. mozdev. org/
zHg0ACgkQJdeBCY SNAAMw4QCfdRgnI S+ME0cCaHnA1z0h 8GtU Obef1qfbeo4DNcl F6
Version: GnuPG v1.4.9 (Cygwin)
Comment: Using GnuPG with Mozilla - http://
iEYEARECAAYFAk9
v7QAnjY23NRh4Mz
=txr6
-----END PGP SIGNATURE-----