func (u *URL) WithRevision(revision int) *URL {
	if u == nil {
		return nil
	}
	uCopy := *u
	uCopy.Revision = revision
	return &uCopy
}
// WithRevision returns the URL with the specified revision.
WithRevision returns the URL with the specified revision.
// WithRevision returns the URL with the specified revision .
func (u *URL) WithRevision(revision int) *URL {
	if u == nil {
		return nil
	}
	uCopy := *u
	uCopy.Revision = revision
	return &uCopy
}
func ( u * URL ) WithRevision ( revision int ) * URL { if u == nil { return nil } uCopy := * u uCopy . Revision = revision return & uCopy }
WithRevision returns the URL with the specified revision.
WithRevision returns the URL with the specified revision .