Github user arshadmohammad commented on a diff in the pull request:

    https://github.com/apache/zookeeper/pull/137#discussion_r97247778
  
    --- Diff: src/lastRevision.bat ---
    @@ -16,8 +16,9 @@ rem See the License for the specific language governing 
permissions and
     rem limitations under the License.
     
     rem Find the current revision, store it in a file, for DOS
    -svn info | findstr Revision > %1
    +git rev-parse HEAD > %1
     
    -For /F "tokens=1,2 delims= " %%a In (%1) Do (
    -   echo lastRevision=%%b> %1
    +For /F "tokens=* delims= " %%a In (%1) Do (
    --- End diff --
    
    This is not working. May be you can replace with all the script with 
following script:
    for /f "delims=" %%i in ('git rev-parse HEAD') do set rev=%%i
    echo lastRevision=%rev% > %1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to