Как работает копия после обновления svn

205
Abhinandan Kumar

Я сделал SVN обновление, которое привело к конфликтам.

Теперь я хочу получить мою рабочую копию

так что, пожалуйста, кто-нибудь, скажите мне, как отменить обновление SVN

это мой контроллер класса с конфликтами

окончательный статический Logger logger = Logger.getLogger (ChromeExtentionController.class); <<<<<<< .mine

private static final String HttpServletRequest = null;  @RequestMapping(value = "/lead/test", method = RequestMethod.GET) public String welcome() {  // return new ModelAndView("redirect:/hello"); ModelAndView mv = new ModelAndView("hello"); 

||||||| .r8587

@RequestMapping(value="/lead/test",method=RequestMethod.GET) public String welcome(){  //return new ModelAndView("redirect:/hello"); 

ModelAndView mv = new ModelAndView ("привет");

CustomJMSProducer producer=new CustomJMSProducer();  @RequestMapping(value="/lead/test",method=RequestMethod.GET) public String welcome(){  //return new ModelAndView("redirect:/hello"); ModelAndView mv=new ModelAndView("hello"); 

.r9063 mv.addObject («Сообщение», «Успех»); System.out.println («Моя строка» + mv.toString ()); вернуть «успех»;

}  @RequestMapping(value = "/scraper/submit1", method = RequestMethod.GET) public String postDataForChromeExtension1() { CustomJMSProducer c = new CustomJMSProducer(); // c.messageToQueue(); return "Success";  } 

<<<<<<< .mine

@RequestMapping(value = "/scraper/submit", method = RequestMethod.POST)  public String postDataForChromeExtension(@RequestBody String scraperInput) { if (scraperInput == null || scraperInput.isEmpty()) { logger.info("Null in request body"); System.out.println("Null in request body"); return "NULL BODY"; } else {  CustomJMSProducer c = new CustomJMSProducer(); ObjectMapper mapper = new ObjectMapper(); Map incomingRequest = null; String url = null; 

||||||| .r8587

@RequestMapping(value="/scraper/submit",method = RequestMethod.POST) public String postDataForChromeExtension(@RequestBody String scraperInput){ if(scraperInput==null || scraperInput.isEmpty()){ logger.info("Null in request body"); System.out.println("Null in request body"); return "NULL BODY"; }else{  CustomJMSProducer c=new CustomJMSProducer(); ObjectMapper mapper = new ObjectMapper(); Map incomingRequest=null; String url=null; 

пытаться {

@RequestMapping(value="/scraper/submit",method = RequestMethod.POST) public String postDataForChromeExtension(@RequestBody String scraperInput){   try { 

.r9063 <<<<<<< .mine try catch (Exception e)

 c.messageToQueue(scraperInput, url); } catch (Exception e) { logger.error("Error while sending HTML to queue" + e.getMessage()); return "error"; }  return "OK"; 

||||||| .r8587 try catch (Exception e)

 c.messageToQueue(scraperInput,url); } catch (Exception e) { logger.error("Error while sending HTML to queue"+e.getMessage()); 

возврат "ошибка";

 producer.send(scraperInput); return "OK"; } catch (Exception e) { logger.error("Error while sending HTML to queue"+e.getMessage()); return "error"; 

.r9063}}

 @RequestMapping(value = "/abc", method = RequestMethod.GET) public ModelAndView getData() {  ModelAndView model = new ModelAndView("hello"); 

<<<<<<< .mine return model;

 } 

||||||| .r8587 вернуть "ОК";

}

.r9063

0
Можете ли вы добавить более подробную информацию о вашей проблеме? Вы упоминаете конфликты. Какие конфликты? Нам нужна дополнительная информация, чтобы помочь. Dave M 6 лет назад 0
Я включил мой класс контроллера теперь вы можете увидеть конфликты Abhinandan Kumar 6 лет назад 0

0 ответов на вопрос