anjali / pagure

Forked from pagure 7 years ago
Clone

07023fa Get the parent if the repo is not empty, fail otherwise

Authored and Committed by pingou 7 years ago
    Get the parent if the repo is not empty, fail otherwise
    
    This might avoid the situation where we could end-up pushing a change
    without a parent commit while the repo isn't new/empty and thus where
    we shouldn't as otherwise we loose the entire history
    
        
file modified
+1 -3