Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#64 closed defect (duplicate)

python 2.7.6 loses pipe output.

Reported by: Steven Levine Owned by:
Priority: major Milestone:
Component: *none Version:
Severity: Keywords: python pipe
Cc: steve53@…

Description

cvs2svn v2.40 is a python app that can convert cvs repos to a number of formats.

While attempting to use cvs2svn to convert a cvs repo to git, I discovered our python port does not handle pipe output properly.

The visible symptom is that the git repo is structured correctly, but all the files are empty because the piped output of the cvs commands is lost.

cvs2svn is avaiable at
http://cvs2svn.tigris.org/files/documents/1462/49237/cvs2svn-2.4.0.tar.gz

A simple testcase (testcase.py) is attached to this ticket. The testcase requires a cvs2svn installation, but uses on one cvs2svn function which could be moved into the testcase.

The expected output is the data variable contains the command output. The current behavior is that the data variable remains empty.

Attachments (1)

testcase.py (754 bytes) - added by Steven Levine 9 years ago.

Download all attachments as: .zip

Change History (4)

Changed 9 years ago by Steven Levine

Attachment: testcase.py added

comment:1 Changed 9 years ago by Silvan Scherrer

please take care that you add python related tickets to the right trac. As all python code is in rpm/yum trac.

comment:2 Changed 9 years ago by Steven Levine

Resolution: duplicate
Status: newclosed

comment:3 Changed 9 years ago by Steven Levine

Cc: steve53@… added
Note: See TracTickets for help on using tickets.