[issue2507] test-mq-qnew fails on AIX

Jim Hague bugs at mercurial.selenic.com
Fri Nov 19 15:33:00 UTC 2010


New submission from Jim Hague <jim.hague at acm.org>:

On AIX, test-mq-qnew fails at the point where it tries to create a patch 
name with a slash:

hg qnew foo/

On Linux, a test C program shows 'fopen("foo/")' fails with EISDIR. The same 
program on AIX succeeds, creating a file 'foo'.

Given the Linux behaviour, AIX should obviously be prevented from creating a 
patch that Linux cannot handle.

I'd like to fix this, but am not sure how to proceed. Check for '/' in a 
filename at the mq level, or do the check in opener in util.py?

----------
messages: 14456
nosy: bearcave
priority: bug
status: unread
title: test-mq-qnew fails on AIX
topic: mq

____________________________________________________
Mercurial issue tracker <bugs at mercurial.selenic.com>
<http://mercurial.selenic.com/bts/issue2507>
____________________________________________________


More information about the Mercurial-devel mailing list