Lets say someone traded me a Pokemon that ive never encountered before. Then, I run into it one day. Would a repeat ball work better or would it require me to have been the one who caught it?
Yes it does.
As long as your Pokedex registers the Pokemon as caught, whether you caught it yourself or traded for it, Repeat Balls will work.
Source: experience