Skip to content

Instantly share code, notes, and snippets.

Avatar

Edward Chu chuyik

View GitHub Profile
@chuyik
chuyik / svn-pristine-find.sh
Last active Sep 6, 2015 — forked from mcbrwr/svn-pristine-find.sh
fix for "svn pristine text not present" error in a working copy
View svn-pristine-find.sh
#!/bin/bash
# for an "svn pristine text not present" error like this:
# svn: E155010: Pristine text 'd6612ee6af5d9fb4459cbe7e2e8e18f7fb4201f8' not present
# you can delete the file and retrieve it with svn up
# (if you have local modifications, make up your own plan)
# -
# Run this script from the root of the working copy.
# It retrieves the file that's causing the error from wc.db
# usage example : ./svn-pristine-find.sh d6612ee6af5d9fb4459cbe7e2e8e18f7fb4201f8
You can’t perform that action at this time.