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

Jan Piotrowski (Sujan) commented on CB-13807:
---------------------------------------------

In other words: `coho repo-update` uses the current `coho` installation as base 
directory (and goes up one level from there, then into the repo directory) to 
do its work.

> `coho repo-update -r android` doesn't work if coho was linked locally
> ---------------------------------------------------------------------
>
>                 Key: CB-13807
>                 URL: https://issues.apache.org/jira/browse/CB-13807
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-coho
>            Reporter: Jan Piotrowski (Sujan)
>            Priority: Major
>
> Following these steps 
> 1. 
> https://github.com/apache/cordova-coho/blob/master/README.md#alternately-you-could-also-clone--use-coho
> 2. 
> https://github.com/apache/cordova-coho/blob/master/README.md#cloningupdating-cordova-repositories
> 3. 
> https://github.com/apache/cordova-coho/blob/master/docs/platforms-release-process.md#update-and-pin-dependencies
> doesn't actually work:
> I ran step 1 in `C:\Projects\Cordova`, step 2 created 
> `C:\Projects\Cordova\cordova-repos`.
> Step 3 then gives:
> {code}
> C:\Projects\Cordova\cordova-repos
> λ coho repo-update -r windows
> Running from C:\Projects\Cordova
> ./ ============================= Executing: git clone 
> https://github.com/apache/cordova-windows.git
> Cloning into 'cordova-windows'...
> remote: Counting objects: 7530, done.
> remote: Compressing objects: 100% (8/8), done.
> remote: Total 7530 (delta 0), reused 3 (delta 0), pack-reused 7522
> Receiving objects: 100% (7530/7530), 37.56 MiB | 2.03 MiB/s, done.
> Resolving deltas: 100% (4087/4087), done.
> ./ ============================= Successfully cloned 1 repositories.
> cordova-windows/ =============== Executing: git remote update origin
> cordova-windows/ =============== Executing: git branch -r --list origin/master
>   origin/master
> cordova-windows/ =============== Already up-to-date: cordova-windows
> {code}
> Instead of updating ` C:\Projects\Cordova/cordova-repos/cordova-windows` that 
> it created in step 2, this creates another `cordova-windows` clone/checkout 
> in `C:\Projects\Cordova`.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to