Dear Robert, there exists a holomorphic function $X\to Y $ having non discrete and even dense set of branch points, with $X=\mathbb C^\ast \setminus \{0\}$ and $Y=\mathbb C$.   
Consider an enumeration $(q_n)$ of $\mathbb Q$ and the polynomials $P_n(z)=q_n + (z-1/n)^2$.   
 A theorem due to  Mittag-Leffler  says that there exists a holomorphic function 
$f:\mathbb C^\ast \setminus \{0\} \to \mathbb C$ whose Taylor development at $1/n$ is $P_n(z)$. The $q_n=f(1/n)$ , that is all of $\mathbb Q$, are then branch points of $f$.