The answer is given later in 1 Samuel 15. After God says in verse 11, “I repent that I have made Saul king,” Samuel says in verse 29, as if to clarify, “The Strength of Israel will not lie nor repent: for he is not a man, that he should repent” (KJV). The point of this verse seems to be that, even though there is a sense in which God does repent (verse 11), there is another sense in which he does not repent (verse 29). The difference would naturally be that God’s repentance happens in spite of perfect foreknowledge, while most human repentance happens because we lack foreknowledge. God’s way of “repenting” is unique to God: “God is not a man that he should repent” (the way a man repents in his ignorance of the future).
For context, click here.