{"thread":{"id":"27342","subject":"push --mirror on post-receive hook?","startedAt":"2011-05-12T21:35:15Z","lastAt":"2011-05-13T08:25:17Z","messageCount":2,"participants":["Jordi Bunster","Ilari Liusvaara"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"167763","messageId":"BANLkTim9S2qGRB=bWxWkMj3s=kmD=YaZqA@mail.gmail.com","threadId":"27342","inReplyTo":null,"subject":"push --mirror on post-receive hook?","fromName":"Jordi Bunster","fromEmail":"jordi@bunster.org","sentAt":"2011-05-12T21:35:15Z","receivedAt":"2011-05-12T21:35:15Z","isPatch":false,"sender":{"key":"jordi@bunster.org","avatar":null},"body":"Is it safe to call push --mirror $SOME_REMOTE on a post-receive hook?\nIs push always safe for the source repo?\n"},{"id":"167773","messageId":"20110513082516.GA17821@LK-Perkele-VI.localdomain","threadId":"27342","inReplyTo":"BANLkTim9S2qGRB=bWxWkMj3s=kmD=YaZqA@mail.gmail.com","subject":"Re: push --mirror on post-receive hook?","fromName":"Ilari Liusvaara","fromEmail":"ilari.liusvaara@elisanet.fi","sentAt":"2011-05-13T08:25:17Z","receivedAt":"2011-05-13T08:25:17Z","isPatch":false,"sender":{"key":"ilari.liusvaara@elisanet.fi","avatar":null},"body":"On Thu, May 12, 2011 at 02:35:15PM -0700, Jordi Bunster wrote:\n> Is it safe to call push --mirror $SOME_REMOTE on a post-receive hook?\n> Is push always safe for the source repo?\n\nYes, it is safe, apart from potential hang if $SOME_REMOTE can't be\ncontacted (it can take minutes for the TCP connect() to time out).\n\n-Ilari\n"}]}