Ticket #541 (closed defect: duplicate)
svnlastrevision does not work in windows 7
| Reported by: | sousasakumi@… | Owned by: | mrook |
|---|---|---|---|
| Priority: | major | Milestone: | 2.4.3 |
| Component: | phing-tasks-ext | Version: | 2.4.2 |
| Keywords: | svnlastrevision | Cc: |
Description
Hi,
I am running Windows 7, Phing 2.4.2, PHP 5.3.1 (but when type phing -v, it always said 2.4.1)
I used Eclipse and Phing to build my project and I had this error message:
Failed to run the 'svn info' command: operable program or batch file
This is the line that use svn info <svnlastrevision svnpath="c:/SlikSvn/bin/svn.exe" workingcopy="${dir.src}" propertyname="svn.lastrevision"/>
I also had the same error message for <svnexport> too, but I have a work around is using the <exec>
<exec command="svn export --username ${svn.username} --password --force ${svn.url} --force ${dir.workingcopy}" />
I tried many times with no luck, and I am not very sure if I am missing something or this is a bug, so I decide to post here.
I searched on Google and found someone with Windows 7 are having this error message too.
http://groups.google.com/group/nooku-framework/browse_thread/thread/ab6e6fc076c1c136
Thank you for your reviewing this ticket.
Attachments
Change History
comment:2 Changed 16 months ago by mrook
- Status changed from assigned to closed
- Resolution set to duplicate
An earlier fix was committed in r808 (and will be released in 2.4.3). Additionally, a new version of http://pear.php.net/VersionControl_SVN was released this week.

I now have a Windows 7 installation and will try to reproduce your issue.