rebuild fix

This commit is contained in:
Peter Cottle 2013-08-01 00:27:08 -07:00
parent 8b66edc878
commit d52830f3d2
3 changed files with 9 additions and 2 deletions

View file

@ -8520,9 +8520,11 @@ GitEngine.prototype.pruneTree = function() {
_.each(toDelete, function(commit) {
commit.removeFromParents();
this.commitCollection.remove(commit);
var ID = commit.get('id');
this.refs[ID] = undefined;
delete this.refs[ID];
var visNode = commit.get('visNode');
if (visNode) {
visNode.removeAll();
@ -26797,9 +26799,11 @@ GitEngine.prototype.pruneTree = function() {
_.each(toDelete, function(commit) {
commit.removeFromParents();
this.commitCollection.remove(commit);
var ID = commit.get('id');
this.refs[ID] = undefined;
delete this.refs[ID];
var visNode = commit.get('visNode');
if (visNode) {
visNode.removeAll();

View file

@ -1351,9 +1351,11 @@ GitEngine.prototype.pruneTree = function() {
_.each(toDelete, function(commit) {
commit.removeFromParents();
this.commitCollection.remove(commit);
var ID = commit.get('id');
this.refs[ID] = undefined;
delete this.refs[ID];
var visNode = commit.get('visNode');
if (visNode) {
visNode.removeAll();

View file

@ -41,6 +41,7 @@ Ideas for cleaning
Done things:
(I only started this on Dec 17th 2012 to get a better sense of what was done)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[x] TONS of hg stuff
[x] finally work on an upload / download animation
[x] factor out golf thing too
[x] factor regexes and instant commands into one module