all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* vc-working-revision with git versus svn
@ 2010-11-25 13:30 Rainer M Krug
  2010-11-25 15:13 ` Andrea Crotti
  0 siblings, 1 reply; 2+ messages in thread
From: Rainer M Krug @ 2010-11-25 13:30 UTC (permalink / raw
  To: help-gnu-emacs

Hi

I migrated from svn to git, but I have one problem: in some documents, I
used vc-working-revision to identify the revision of the document. In
svn, this resulted in a number, through which I could keep different
revisions separate.
Under gi, it simply tells me "master" - is there anything I can do to
get something similar then the revision number in svn, which I can use
to retrieve the version from git?

Thanks,

Rainer




^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: vc-working-revision with git versus svn
  2010-11-25 13:30 vc-working-revision with git versus svn Rainer M Krug
@ 2010-11-25 15:13 ` Andrea Crotti
  0 siblings, 0 replies; 2+ messages in thread
From: Andrea Crotti @ 2010-11-25 15:13 UTC (permalink / raw
  To: help-gnu-emacs

Rainer M Krug <R.M.Krug@gmail.com> writes:

> Hi
>
> I migrated from svn to git, but I have one problem: in some documents, I
> used vc-working-revision to identify the revision of the document. In
> svn, this resulted in a number, through which I could keep different
> revisions separate.
> Under gi, it simply tells me "master" - is there anything I can do to
> get something similar then the revision number in svn, which I can use
> to retrieve the version from git?
>
> Thanks,
>
> Rainer

I don't see why you should do anything like that...
If you want separate versions just keep different branches/repositories.
Then with git checkout you can jump from one to the other easily.





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-11-25 15:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-11-25 13:30 vc-working-revision with git versus svn Rainer M Krug
2010-11-25 15:13 ` Andrea Crotti

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.