[JIRA] (JENKINS-40468) Ability to force clone

2016-12-14 Thread cow...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 cowwoc commented on  JENKINS-40468  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Ability to force clone   
 

  
 
 
 
 

 
 No need. Users can simply invoke "deleteDir()" before "checkout()" and this will have the desired effect. Also, this design scales better than stuffing this functionality in the SCM plugin.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40468) Ability to force clone

2016-12-14 Thread cow...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 cowwoc closed an issue as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40468  
 
 
  Ability to force clone   
 

  
 
 
 
 

 
Change By: 
 cowwoc  
 
 
Status: 
 Open Closed  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-40468) Ability to force clone

2016-12-14 Thread cow...@java.net (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 cowwoc created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40468  
 
 
  Ability to force clone   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Unassigned  
 
 
Components: 
 mercurial-plugin  
 
 
Created: 
 2016/Dec/15 6:16 AM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 cowwoc  
 

  
 
 
 
 

 
 Unlike git, the Mercurial "checkout" command only offers a "Clean Build" option which is used to purge the working directory. We need an equivalent of the "Wipe workspace and force clone" functionality available to the git plugin. Specifically, I am running into problems where the local repository contains more commits than the remote which is causing problems. I need to force a re-clone; otherwise, the script will need to be able to recover from a partially-updated repository after a failed build.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment