comparison src/org/tmatesoft/hg/repo/HgRemoteRepository.java @ 190:9b99d27aeddc

More debug printouts
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Thu, 14 Apr 2011 02:48:06 +0200
parents 44a34baabea0
children 706bcc7cfee4
comparison
equal deleted inserted replaced
189:e9d275fb0bc0 190:9b99d27aeddc
332 c.connect(); 332 c.connect();
333 if (debug) { 333 if (debug) {
334 dumpResponseHeader(u, c); 334 dumpResponseHeader(u, c);
335 } 335 }
336 File tf = writeBundle(c.getInputStream(), false, "HG10GZ" /*didn't see any other that zip*/); 336 File tf = writeBundle(c.getInputStream(), false, "HG10GZ" /*didn't see any other that zip*/);
337 if (debug) {
338 System.out.printf("Wrote bundle %s for roots %s", tf, sb);
339 }
337 return getLookupHelper().loadBundle(tf); 340 return getLookupHelper().loadBundle(tf);
338 } catch (MalformedURLException ex) { 341 } catch (MalformedURLException ex) {
339 throw new HgException(ex); 342 throw new HgException(ex);
340 } catch (IOException ex) { 343 } catch (IOException ex) {
341 throw new HgException(ex); 344 throw new HgException(ex);