[ 
https://issues.apache.org/jira/browse/SCM-665?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17962477#comment-17962477
 ] 

ASF GitHub Bot commented on SCM-665:
------------------------------------

jira-importer opened a new issue, #874:
URL: https://github.com/apache/maven-scm/issues/874

   **[John 
Wu](https://issues.apache.org/jira/secure/ViewProfile.jspa?name=phantom_john)** 
opened 
**[SCM-665](https://issues.apache.org/jira/browse/SCM-665?redirect=false)** and 
commented
   
   The `TfsChangeLogCommand` can get change log of specific file(s), but cannot 
work for directory.
   
   In `TfsChangeLogCommand.java` of version 1.6, line 83 is
   
   ```
   command.addArgument( file.getName() ); 
   ```
   
   But I believe it should be
   
   ```
   command.addArgument( file.getAbsolutePath() ); 
   ```
   
   
   
   ---
   
   **Affects:** 1.6
   




> TfsChangeLogCommand does not display the change log for directories
> -------------------------------------------------------------------
>
>                 Key: SCM-665
>                 URL: https://issues.apache.org/jira/browse/SCM-665
>             Project: Maven SCM (Moved to GitHub Issues)
>          Issue Type: Bug
>          Components: maven-scm-provider-tfs
>    Affects Versions: 1.6
>            Reporter: John Wu
>            Priority: Major
>
> The {{TfsChangeLogCommand}} can get change log of specific file(s), but 
> cannot work for directory.
> In {{TfsChangeLogCommand.java}} of version 1.6, line 83 is
> {code}        command.addArgument( file.getName() ); {code}
> But I believe it should be
> {code}        command.addArgument( file.getAbsolutePath() ); {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to