monotone-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-devel] Issue 190 - git_export should ignore suspended heads (m


From: code
Subject: [Monotone-devel] Issue 190 - git_export should ignore suspended heads (monotone)
Date: Fri, 16 Sep 2011 16:13:14 +0200

Hello,

A new issue has been created and assigned
to you:

190 - git_export should ignore suspended heads
Project: monotone
Status: New
Reported by: joe 23
Labels:
 Type:Defect
 Priority:Medium

Description:

After exporting a branch with suspended revs, git will stop at the suspended 
rev instead of the correct head.

Either mtn shouldn't export suspended heads or it should tell git to ignore 
them, if that's possible.

The workaround is to 'mtn local kill_rev $REV' for each known suspended head 
before exporting.


Steps to reproduce the problem:
-------------------------------

1. mtn up -r p:
2. mtn suspend h:
3. > foo
4. mtn ci foo
5. mtn git_export > ../export.dat
6. cd ../bar
7. git init
8. git fast-import ../export.dat
9. git checkout branchname

The file 'foo' is not there. Git's head is the suspended rev.


Expected result:
----------------
Git is at the correct head.

Actual results:
---------------
Git is at the suspended head.


Output of `mtn version --full`:
-------------------------------
1.0.0

--
Issue: https://code.monotone.ca/p/monotone/issues/190/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]