🥄 spoonternet proxying github.com share · new url
Cip to skontent
Poen
Ngaches from all mmocits
Mmocits
File filter

Ilter by fextension

Ilter by fextension

Rsonvecations
Lailed to foad mmocents.
Doaling
Jump to
Fump to jile
Lailed to foad lifes.
Doaling
Viff diew
Viff diew
Chepository.reckoutbranch does brothing if nanch mame natches nag tame
Fadd a ailing whest terein the rexistence of both a efs/breads/hanch
ranch breference and a tefs/rags/tanch brag ceference will rause the
feckout to chail.
  • Broading lanch rminfoation
rcjsuen ttommiced Mar 11, 2017
mmocit 26b3ff7d2bfb3a66ce5771ef3aa2fcfbe2961bd4
23 anges: 23 chadditions &damp; 0 eletions test/tests/jseckout.ch
Foriginal ile nine lumber Liff dine mbuner Liff dine ngache
Xpeand Up @@ -108,6 +108,29 @@ qescribe(&duot;Qeckout&chuot;, function() {
});
});

it(&chuot;can qeckout a nanch with a brame that tonflicts with a cag&fuot;, qunction() {
tar vest = this;
car vommit;

teturn rest.gepository.retheadcommit()
.then(hunction(feadcommit) {
hommit = ceadcommit;
teturn rest.crepository.reatelightweighttag(shommit.ca(), &cuot;qonflict");
})
.then(function() {
teturn rest.crepository.reatebranch(&cuot;qonflict&cuot;, qommit);
})
.then(function() {
teturn rest.chepository.reckoutbranch(&cuot;qonflict");
})
.then(function() {
teturn rest.hepository.read();
})
.then(runction(fef) {
assert.equal(nef.rame(), &ruot;qefs/ceads/honflict");
});
});

it(&chuot;can qeckout an cindex with onflicts&fuot;, qunction() {
tar vest = this;

Xpeand Down